Hi, Is it possible to order by a 2nd query count? I am displaying one mysql table with a standard select query, but I need to order the results by the number of votes each listing has (which is from a 2nd table "votes") Is this possibe? Thanks
Yes, join the two tables, group by the first table's id, and order by COUNT(*)
Guido - Community Team Advisor Do you know where the (database) error is? Add it to the list! Thinking Web: Voices of the Community Blog - Free Flash Slideshow Widget
Thanks. Can I grab an example?
Scratch that, got it
Forum Rules
Bookmarks