Subqueries are extremely useful, particularly for web-based database applications where you need to take two queries and manually put them together to reach a desired result — subqueries allow SQL to do all of the heavy lifting! Subqueries can also be used in many cases to replace a self-join (or vice-versa). A SQL join is usually quicker but, as we’ve discussed many times before, there is usually more than one way to perform any given SQL task. A query in a query?The subquery is fa
continue >>
Author:
Time:
Sunday, February 10th, 2008 at 4:50 pm
Category:
Comments:
You can leave a response, or trackback from your own site.
RSS:
You can follow any responses to this entry through the RSS 2.0 feed.
Navigation: