Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: SQL
Posted by: Jenya Mia
Added: Aug 28, 2019 2:13 PM
Views: 6
Tags: sql
  1. SELECT *
  2. FROM
  3.   top_n_test
  4. ORDER BY
  5.   num
  6. fetch FIRST ROW ONLY; -- fetch first 3 rows only