📅  最后修改于: 2022-03-11 15:05:27.180000             🧑  作者: Mango
-- Case insensitive
SELECT * FROM my_table WHERE upper(my_column) LIKE 'SEARCHED %'; -- starts with
SELECT * FROM my_table WHERE upper(my_column) LIKE '% SEARCHED'; -- ends with
SELECT * FROM my_table WHERE upper(my_column) LIKE '%SEARCHED%'; -- contains