I was instructed to return a negative selection from our sql database. I will determine the criteria as best as possible. So far I have not created a query that worked.
Business table
[Bus Name] [Bus Identifier]
Action table
[Activity ID] [Bus ID]
Activity Extensions Table
[Ext ID] [Activity ID] [Bus ID]
I need company names for all enterprises that do not have an entry with the company identifier # in the linked tables. Simply put, all businesses are idle. A business identifier may appear in one or both related tables.
This caused me problems for several hours trying to process requests using connections and does not exist or not in the statements. No success.
Any ideas?
sql sql-server tsql sql-server-2005
Donovan
source share