Is it possible to create a nested select statement something like this in mysql?
SELECT * from myTable WHERE id = (SELECT id from data where dataId = 1);
If this is not the correct way to formulate such a statement could anyone point me in the right direction for the way in which it should be formulated.
Thanks