get 3 character string sql code example
Example 1: sql server substring
SELECT SUBSTRING('SQL Tutorial', 1, 3) AS ExtractString;
Example 2: substring sql
SELECT SUBSTR(first_name, 0 , 3)
From employees;
SELECT SUBSTRING('SQL Tutorial', 1, 3) AS ExtractString;
SELECT SUBSTR(first_name, 0 , 3)
From employees;