Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何选择列值以某个字符串开头的行?
例如,我想选择“姓名”列以“先生”开头的行。
你可以做
select * from mytable where name like "Mr.%"
见http://www.sqlite.org/lang_expr.html