sql get first code example
Example 1: sql first character
Select First two Character in selected Field with Left(string,Number of Char in int)
SELECT LEFT(FName, 2) AS FirstName FROM dbo.NameMaster
Example 2: 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}
*/