scarhand Posted November 19, 2008 Share Posted November 19, 2008 is this correct practice? "rating" is an int, "views" is an int i want it to sort by highest rating first, then by highest viewcount "ORDER BY rating DESC, views DESC" Link to comment https://forums.phpfreaks.com/topic/133283-order-by-rating-desc-views-desc/ Share on other sites More sharing options...
corbin Posted November 19, 2008 Share Posted November 19, 2008 That should be valid/ok. Link to comment https://forums.phpfreaks.com/topic/133283-order-by-rating-desc-views-desc/#findComment-693200 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.