I found this posted on an Internet forum:
You could find out you're one of those new fangled web applications developers who don't actually know much about databases and don't see anything wrong with
SELECT * FROM `tbl_products` ORDER BY `product_times_bought` DESC LIMIT 0, 500
I'm new to databases, and this looks like a valid query to me. Yet some guy was saying that there is something wrong with using such queries in practice. I don't know why: efficiency? robustness? What could be wrong with this query?