SQL/limit

解説 抽出レコード数を制限
SQL
select フィールド名 from テーブル名 limit 取得数;
select フィールド名 from テーブル名 limit 開始位置, 取得数;