MySQL中带in关键字的集合查询

时间:2024-10-13 23:20:33

1、只查询ID为2,4,6的信息select username from user where id in (2,4,6);

MySQL中带in关键字的集合查询

3、查询sex中开头为w的信息select username,age from user where sex like 'w%';

MySQL中带in关键字的集合查询MySQL中带in关键字的集合查询MySQL中带in关键字的集合查询
© 2025 光影知识库
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com