LIMIT - Restricting Results1 / 10
LIMIT limits the result to a certain number of records. To get the top 3 records of the creatures table, try:

SELECT * FROM creatures LIMIT 3;

Table creatures

creature_idnametypestrength_level
1BigfootCryptid85
2Loch Ness MonsterCryptid90
3ChupacabraCryptid70
4MothmanCryptid65
5Jersey DevilCryptid75
6YetiCryptid88
7Flatwoods MonsterCryptid60

No key for < or > on your keyboard? Use these:

Ctrl+Enter to submit

πŸ”₯ 0 streak
⭐ 0 XP this lesson
All Lessons

LIMIT - Restricting Results - Free SQL Practice Online

Practise LIMIT - Restricting Results with 10 free, interactive SQL exercises. You type real queries into your browser and get instant feedback on every answer - no database setup, no install, and no signup. It is a fast, hands-on way to learn SQL online and build query skills you can use at work.