On Mon, Apr 09, 2001 at 07:22:52PM -0400, Wei Weng wrote:
 
> And I want to get the names of the largest 10 "id"s. How can I do that in 
> sql?

        What do you mean by "largest"? Largest id? "largest" text string? If
it's the id you can do:

        select max(id) from <table>;

        -Roberto
-- 
+----| http://fslc.usu.edu USU Free Software & GNU/Linux Club |------+
  Roberto Mello - Computer Science, USU - http://www.brasileiro.net 
       http://www.sdl.usu.edu - Space Dynamics Lab, Developer    
Backup is for whimps!

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to