Using the IN statement to retrieve multiple results from a subquery

Use the IN statement to retrieve multiple results from a subquery.
SELECT * FROM table WHERE id IN ( SELECT DISTINCT id FROM table WHERE id=1 )

Tags:

Comments Closed

Comments are closed.