Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Min() in one statment
Message
 
 
To
11/07/2002 14:45:05
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00677687
Message ID:
00677711
Views:
20
>hi all
>
>how can i get in one statment all the fileds from a table where min(field1)
>
>thanx

Try
 SELECT * FROM mytable ;
  WHERE field1 IN ( SELECT MIN(field1) FROM mytable)
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform