mysql简单查询语句
select*from students.stu_info where class_id in(‘c01’,‘c02’);-- 在(‘c01’,‘c02’)的范围;
select*from students.stu_info where class_id not in(‘c01’,‘c02’);-- 不在(‘c01’,‘c02’)的范围;
select distinct s_addr as ‘城市’ from students.stu_info; – 把相同的合并在一起
select
原创
2022-03-28 22:30:48 ·
659 阅读 ·
0 评论