Jump to content

NESTED SELECT


perplexed

Recommended Posts

hello I have the following query

 


select * from film f WHERE f.filmid = (SELECT l.filmid FROM filmgenre l, genre g WHERE g.genreid=l.genreid AND g.genreid=4 );

 

And with the love of christmas cannot get it to work. Can anyone help?

Or suggest if I can link this with join command.

 

Thankyou for looking

Link to comment
https://forums.phpfreaks.com/topic/1540-nested-select/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.