Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 SQL - GROUP BY
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

redbrad0
Advanced Member

USA
3725 Posts

Posted - 27 August 2003 :  21:18:42  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
I am having a hard time with a SQL Query. Instead of pasting the entire long query I will just explain. My SQL Statment combines 5 tables that are all INNER JOINED. With 13 different columns out of the 5 databases returned when I try to group them by the main tables ID I still get duplicate records that just have other tables data that match the critia that are linked to the main record. How can I get it to group by the ID column? I have...

GROUP BY ID, COLUMN2, COLUMN3, COLUMN4, COLUMN5

But it just doesnt group everything by the ID, any ideas or suggestions?

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07