Where EXISTS

suggest change

Selects rows from TableName that have a matching Id in TableName1. The SELECT list inside EXISTS is not returned.

SELECT * FROM TableName t WHERE EXISTS (
    SELECT 1 FROM TableName1 t1 where t.Id = t1.Id)

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents