How to get Top 5 records in SqLite?
An equivalent statement would be
select * from [TableName] limit 5
http://www.w3schools.com/sql/sql_top.asp
select price from mobile_sales_details order by price desc limit 5
Note: i have mobile_sales_details table
syntax
select column_name from table_name order by column_name desc limit size.
if you need top low price just remove the keyword desc from order by
SELECT * FROM Table_Name LIMIT 5;