sql command select the first 5 characters from data code example
Example 1: grab part of a string sql
SELECT
SUBSTRING('SQLTutorial.org',
POSITION('.' IN 'SQLTutorial.org'));
Example 2: grab part of a string sql
SELECT SUBSTRING('SQLTutorial.org');