my table has the following fields
videos
|id| |average| |views|
now i select some field from database, and order them by average
SELECT `id` from `videos` order by `average`
nut i need the second ordering by "views", i.e. if there are two rows vith equal "average", i want to order them by "views". How can i do that? thanks