📜  sql 以字符串结尾 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:27.180000             🧑  作者: Mango

代码示例1
-- 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