substring from postgresql code example
Example: postgresql certain first 4 characters in string
SELECT employee_id,first_name,
substring(first_name,1,4)
FROM employees;
SELECT employee_id,first_name,
substring(first_name,1,4)
FROM employees;