Return to Snippet

Revision: 26196
at April 20, 2010 10:54 by val2many


Initial Code
SELECT id,name FROM products WHERE EXISTS ( SELECT version_id FROM versionships WHERE products.id = versionships.version_id );

Initial URL

                                

Initial Description

                                

Initial Title
check if record exists in join table

Initial Tags

                                

Initial Language
Other