select first row in sql server code example
Example: sql select first row
-- NOTE: This is for Oracle/PLSQL only
-- > EXAMPLE
select *
from CONSUMERS
where ROWNUM <= 1
/*
-- > SYNTAX
select *
from {yourTable}
where ROWNUM <= {number-of-rows}
*/