Query within a query?
View Single Post
12-11-2012, 12:02 PM
Join Date: Jan 2010
Location: Behind the Wall
Thanked 327 Times in 323 Posts
that can be done by a simple join.
SELECT -- fields here FROM table_a JOIN table_b USING (id) WHERE table_a.is_set = 1;
The computer is always right. The computer is always right. The computer is always right. Take it from someone who has programmed for over ten years: not once has the computational mechanism of the machine malfunctioned.
André Behrens, NY Times Software Developer
Users who have thanked Dormilich for this post:
View Public Profile
Find More Posts by Dormilich