Ordering and limiting the results:
SELECT field1, field2
FROM myTable
ORDER BY field1 ASC
LIMIT 10
More Related Contents:
- You can’t specify target table for update in FROM clause
- Generating a range of numbers in MySQL
- How to get next/previous record in MySQL?
- How do I make a row generator in MySQL?
- MySQL INSERT INTO table VALUES.. vs INSERT INTO table SET
- MySQL number of items within “in clause”
- Error 1046 No database Selected, how to resolve?
- What’s the difference between VARCHAR and CHAR?
- Alter a MySQL column to be AUTO_INCREMENT
- Is there something wrong with joins that don’t use the JOIN keyword in SQL or MySQL?
- MySQL ON DUPLICATE KEY UPDATE for multiple rows insert in single query
- single fixed table with multiple columns vs flexible abstract tables
- How many rows in a database are TOO MANY?
- Why does this SQL code give error 1066 (Not unique table/alias: ‘user’)?
- calculate a sum of type time using sql
- Is it possible to have an indexed view in MySQL?
- mysql – how many columns is too many?
- How exactly does using OR in a MySQL statement differ with/without parentheses?
- Best database field type for a URL
- Use A Union Or A Join – What Is Faster [closed]
- MySQL – how to front pad zip code with “0”?
- Find the number of columns in a table
- Mysql, reshape data from long / tall to wide
- MySQL: Compare differences between two tables
- Mysql strip time component from datetime
- How do I start auto increment from a specific point?
- MySQL SELECT x FROM a WHERE NOT IN ( SELECT x FROM b ) – Unexpected result
- MySql bulk load command line tool
- ALTER TABLE without locking the table?
- MySQL: Typecasting NULL to 0