home *** CD-ROM | disk | FTP | other *** search
- *****************************************************************
- * * 09/92 SELECT1.PRG *
- *****************************************************************
- * * Author's Name: Jeb Long *
- * * *
- * * Description: *
- * * This program illustrates how to use the SQL SELECT *
- * * command to display population of states and cities for *
- * * cities with population greater than one million people *
- *****************************************************************
- select census.state,city,pop80,population;
- from census,cities ;
- where cities.pop80/1000 > 1000 ;
- .and. census.state=cities.state