gamingmouse
Programmer
I'm familiar with
But how can I do something like this:
Please IGNORE that the subquery in the above example is totally unneeded. This is a purely snyntactical question.
Thanks,
gm
Code:
SELECT *
FROM my_table
WHERE id IN (2,4,8)
But how can I do something like this:
Code:
SELECT *
FROM my_table
WHERE id IN (
SELECT *
FROM my_table
WHERE x = 1
);
Please IGNORE that the subquery in the above example is totally unneeded. This is a purely snyntactical question.
Thanks,
gm