4
這裏是我的SQLite表(以逗號分隔的格式):在SQLite中,如何排除包含特定字符串的行?
ROWID,COLUMN
1,"This here is a string |||"
2,"Here is another string"
3,"And yet another string"
我想排除在「列」包含所有行「|||」。這在SQLite中可能嗎?
這裏是我的SQLite表(以逗號分隔的格式):在SQLite中,如何排除包含特定字符串的行?
ROWID,COLUMN
1,"This here is a string |||"
2,"Here is another string"
3,"And yet another string"
我想排除在「列」包含所有行「|||」。這在SQLite中可能嗎?
select * from table where column not like '%|||%'
這應該工作
select * from your_table
where your_column not like '%'|||%'