ASP Hosting sale!
Double disk space and transfer for FREE!
Limited time offer! Act Now!

aspdev | articles | tutorials | forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SQL get top rows for each other columns values

 
Post new topic   Reply to topic    ASPdev.org Forum Index -> SQL Programming (MS SQL Server, MS Access, MySQL)
View previous topic :: View next topic  
Author Message
ffa330



Joined: 29 Jun 2006
Posts: 1
Location: Luxembourg

PostPosted: Thu Jun 29, 2006 1:52 am    Post subject: SQL get top rows for each other columns values Reply with quote

i have a logical problem with SQL language i.e:
col1 col2
-----+------
... a ! value1
... a ! value2
... a ! value3
......
... a ! valuen
... b ! value11
... b ! value12
......
... b ! valuem
... c ! value21
......
I need to get the 5 first lines for each value of col 1
Thanks in advance...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ASPdev.org Forum Index -> SQL Programming (MS SQL Server, MS Access, MySQL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group

SQL Tutorial