Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ LIMITing results | Selecting
SQL Basics
セクション 1.  3
single

single

bookLIMITing results

メニューを表示するにはスワイプしてください

As you might notice, our database is quite large - about three thousand cars. Sometimes we need to limit our results so only a few rows will be displayed. It may be useful if we work with big data and want to check if our query is valid or when we want to find TOP-n observation based on some condition.

To limit the number of rows to be shown use the LIMIT n statement. For example,

123
SELECT column1, column2 FROM table_name LIMIT 5
copy

this query will return the first 5 rows from table_name

タスク

スワイプしてコーディングを開始

From the audi_cars table extract the first 10 rows of model, price, mileage columns.

解答

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 1.  3
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt