Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ASP / Database Access / September 2003



Tip: Looking for answers? Try searching our database.

Help With SQL Statement !!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Adam Knight - 28 Sep 2003 05:14 GMT
Is their a way i can group a bunch of records by their 'Type' And Order
these records within each group by their category. I am using Jet Sql
"Access".

This is what i have so far..

rs.Open "SELECT
Seminar_Id,Seminar_Category,Seminar_Title,Seminar_Venue,Seminar_Type FROM
seminar Group By
Seminar_Id,Seminar_Category,Seminar_Title,Seminar_Venue,Seminar_Type",cn

'Want to order by category within each group.

Thanx to all those who view this post.

AK
Ken Schaefer - 28 Sep 2003 08:39 GMT
ORDER BY field1 [ASC | DESC]

Use ASC for ascending (the default) or DESC for descending. ORDER BY goes
after GROUP BY ...

Cheers
Ken

: Is their a way i can group a bunch of records by their 'Type' And Order
: these records within each group by their category. I am using Jet Sql
[quoted text clipped - 12 lines]
:
: AK
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.