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

2025-05-10 18:36:17

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关键字的集合查询
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢