select UserId,UserName,Name,Sex,Birthday,Height,Weight,Role from xqhit_Users where UserName like "%yym%" limit 50 offset 0 name like “%values%” 或 name like ‘%values%’ 都可以. select * from db.table limit 50 offset 0; limit 拿取50条 offset 跳过 0条 一
/****************************************************************************** ** This file is an amalgamation of many separate C source files from SQLite ** version 3.14.1. By combining all the individual C code files into this ** single large file
在搜索数据库中的数据时,SQL 通配符可以替代一个或多个字符.SQL 通配符必须与 LIKE 运算符一起使用.在 SQL 中,可使用以下通配符:通配符 描述 % 替代一个或多个字符 _ 仅替代一个字符 [charlist] 字符列中的任何单一字符 [^charlist] 或者 [!charlist]. mysql> select * from Person where City not like '%lon%';+----+----------+------