substr() in sql code example
Example 1: sql substring
SUBSTRING(string, start, length)
Example 2: substring sql
SELECT SUBSTR(first_name, 0 , 3)
From employees;
Example 3: substring sql
SELECT SUBSTRING('SQL Tutorial', 4, (LENGTH('SQL Tutorial'))
AS LastCharactersString;
//Result -> Tutorial