Thanks.
I also just found out that I could use in my <cfoutput query="blah" group="gamename"> to do the same thing
Curious though, in your example, is there any way in the GROUP BY part where it could group a list of games by their first letter in the gamename?
See, I have thought about adding a group section to my game details and just provide it with a letter, then on the games page, I can group it by the group letter I provided, however, if I am able to do it strictly with the name already, that would be cool to.
Problem is, I need it to be like this
A
games starting with A
B
games starting with B
etc...
What would be my best plan of attack on that?
Main Topics
Browse All Topics





by: JakobAPosted on 2003-12-21 at 09:16:51ID: 9981541
<cfquery name="games" datasource="#dsn#"> ID
SELECT games.gamename, articles.gameID
FROM games INNER JOIN articles ON games.gameID=articles.game
WHERE articles.gameID>0 AND articles.typeID=1
GROUP BY articles.gameID
</cfquery>
regards JakobA