Posted By

val2many on 04/20/10


Tagged


Versions (?)

check if record exists in join table


 / Published in: Other
 

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

Report this snippet  

You need to login to post a comment.