Custom Search
 


Using Subquery



A subquery is another powerful way of using SQL queries. One SQL statement can be embedded in another SQL statement.


1. What is subquery


2. Using subquery to return a single value (known as single-value subquery or scalar subquery)


3. Using subquery to return a list of values (known as column subquery)


4. Using subquery to return one ore more rows of values (known as row subquery)


5. Using correlated subqueries


6. Using EXISTS and NOT EXISTS in correlated subqueries in MySQL


7. Using subquery in SELECT statement in MySQL


8. Using subquery in FROM clause in MySQL


9. JOIN a table with a subquery


Back to Tutorial Index: MySQL Database How-to Articles and Tutorials

Copyright © 2017 GeeksEngine.com. All Rights Reserved.

This website is hosted by HostGator.

No portion may be reproduced without my written permission. Software and hardware names mentioned on this site are registered trademarks of their respective companies. Should any right be infringed, it is totally unintentional. Drop me an email and I will promptly and gladly rectify it.

 
Home | Feedback | Terms of Use | Privacy Policy