Page is a not externally linkable
- Code, Content, and Presentation
-- Databases
---- SQL to order records by total number of records


The_Hat - 1:47 pm on Jul 14, 2010 (gmt 0)


I have people in one table and I have their items spread over four other tables.. What I want to do is iterate through those people but order the list of them by the total number of each persons records across all four tables... any nice pretty sql statement to do that?


Thread source:: http://www.webmasterworld.com/databases_sql_mysql/4169969.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com