What is SQL query, which retrieves last 10 records from database?
I can't find it in guides.rubyonrails.org
What is SQL query, which retrieves last 10 records from database?
I can't find it in guides.rubyonrails.org
select * from table_name sort by some_column asc/desc limit 10
Thanks!