Click here to Skip to main content
15,893,266 members
Home / Discussions / Database
   

Database

 
GeneralRe: Get hirarchy query Pin
SatyaKeerthi1518-Aug-10 18:52
SatyaKeerthi1518-Aug-10 18:52 
GeneralRe: Get hirarchy query Pin
ScottM118-Aug-10 20:56
ScottM118-Aug-10 20:56 
GeneralRe: Get hirarchy query Pin
SatyaKeerthi1518-Aug-10 21:11
SatyaKeerthi1518-Aug-10 21:11 
GeneralRe: Get hirarchy query Pin
ScottM118-Aug-10 21:17
ScottM118-Aug-10 21:17 
GeneralRe: Get hirarchy query Pin
SatyaKeerthi1518-Aug-10 19:01
SatyaKeerthi1518-Aug-10 19:01 
QuestionGet hirarchy query Pin
SatyaKeerthi1518-Aug-10 19:02
SatyaKeerthi1518-Aug-10 19:02 
AnswerRe: Get hirarchy query Pin
ps_prakash0219-Aug-10 21:31
ps_prakash0219-Aug-10 21:31 
QuestionHow to query exclusion? SQL Help needed Pin
Kyudos16-Aug-10 17:36
Kyudos16-Aug-10 17:36 
I'm only a very occasional SQL user, so I'm not sure if this is even possible - but if it is, can someone help me with the SQL?

The situation:

In Table 1, I have a list of components, each with an ID and a type.
In Table 2, I have a mapping between Outlet components and Nozzle components (two columns with component IDs in both, lets call them Out_IDs and Nozz_IDs, an Outlet may be linked to many nozzles).

I'm trying to find all the Nozzle components that are not linked to any outlets.

So in pseudo-SQL:

SELECT * FROM Components WHERE (Component.[Type] = Nozzle)
AND (Component.[ID] Is Not One Of Mapping.[Nozz_IDs])

It's the AND... bit I can't figure out, probably some sort of JOIN I can't fathom.

Thanks all,

Dan
AnswerRe: How to query exclusion? SQL Help needed Pin
Kyudos16-Aug-10 17:44
Kyudos16-Aug-10 17:44 
GeneralRe: How to query exclusion? SQL Help needed Pin
Mycroft Holmes16-Aug-10 18:22
professionalMycroft Holmes16-Aug-10 18:22 
GeneralRe: How to query exclusion? SQL Help needed Pin
Kyudos17-Aug-10 10:46
Kyudos17-Aug-10 10:46 
GeneralRe: How to query exclusion? SQL Help needed Pin
Kyudos17-Aug-10 13:18
Kyudos17-Aug-10 13:18 
GeneralRe: How to query exclusion? SQL Help needed Pin
Mycroft Holmes17-Aug-10 13:31
professionalMycroft Holmes17-Aug-10 13:31 
GeneralRe: How to query exclusion? SQL Help needed Pin
Kyudos18-Aug-10 11:10
Kyudos18-Aug-10 11:10 
GeneralRe: How to query exclusion? SQL Help needed Pin
Kyudos17-Aug-10 13:30
Kyudos17-Aug-10 13:30 
QuestionSelect and Update Pin
T.RATHA KRISHNAN15-Aug-10 20:53
T.RATHA KRISHNAN15-Aug-10 20:53 
AnswerRe: Select and Update Pin
Luc Pattyn16-Aug-10 0:22
sitebuilderLuc Pattyn16-Aug-10 0:22 
Questionaccess database Pin
sharmakamal14-Aug-10 7:45
sharmakamal14-Aug-10 7:45 
AnswerRe: access database PinPopular
Luc Pattyn14-Aug-10 8:59
sitebuilderLuc Pattyn14-Aug-10 8:59 
GeneralRe: access database Pin
PIEBALDconsult14-Aug-10 15:19
mvePIEBALDconsult14-Aug-10 15:19 
GeneralRe: access database Pin
Luc Pattyn14-Aug-10 15:24
sitebuilderLuc Pattyn14-Aug-10 15:24 
GeneralRe: access database Pin
PIEBALDconsult14-Aug-10 16:13
mvePIEBALDconsult14-Aug-10 16:13 
GeneralRe: access database Pin
Corporal Agarn17-Aug-10 1:10
professionalCorporal Agarn17-Aug-10 1:10 
AnswerRe: access database Pin
Dr.Walt Fair, PE14-Aug-10 10:15
professionalDr.Walt Fair, PE14-Aug-10 10:15 
GeneralRe: access database Pin
Luc Pattyn14-Aug-10 10:44
sitebuilderLuc Pattyn14-Aug-10 10:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.