sounds familiar? are you doing your database class homework or
something??

maybe you can use:
SELECT blah...
FROM   blah...
WHERE  ... NOT IN ( query_select_top_10_countries )

Hong

Jim Watkins wrote:
> 
> So far so good.  Now I have written another script that selects everyone NOT
> in the top ten counties (rows).  How can I do that without naming the
> counties?
> 
> -----Original Message-----
> From: Jim Watkins [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 16, 2000 9:09 PM
> To: CF-Talk
> Subject: returning top 10
> 
> How do you write a SQL statement that will return the top 10 of something
> (eg. top 10 salaries, top ten students by GPA, top ten populated counties,
> etc.)?
> 
> Currently I have:
> and student_pop
> in('Towns','Union','White','Fannin','Habersham','Stephens','Rabun','Franklin
> ','Bibb','Jones')
> 
> ----------------------------------------------------------------------------
> --
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> 
> ------------------------------------------------------------------------------
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to