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