Answers for "find substring in postgresql"

SQL
1

postgresql contains

SELECT id FROM TAG_TABLE WHERE 'aaaaaaaa' LIKE '%' || tag_name || '%';
Posted by: Guest on October-21-2020
0

postgresql certain first 4 characters in string

SELECT employee_id,first_name,
substring(first_name,1,4)
FROM employees;
Posted by: Guest on January-05-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language