Category: >> mySQL >> SELECT within SELECT (SubSelect) Bookmark and Share

<< lastnext >>

Snippet Name: SELECT within SELECT (SubSelect)

Description: Example of doing a SELECT within a SELECT (a subselect).

Comment: (none)

Author: CoderZone
Language: MYSQL
Highlight Mode: MYSQL
Last Modified: March 01st, 2009

SELECT name FROM listing WHERE population > 
(SELECT population FROM listing WHERE name='England')
There haven't been any comments added for this snippet yet. You may add one if you like.  Add a comment 
© | users online: 4