SQL每日一题(20211230)
题目
测试数据
CREATE TABLE T1230
(TIME INT,
NAME VARCHAR(5),
COMPLETE VARCHAR(5)
)
INSERT INTO T1230 VALUES(1,'1','0');
INSERT INTO T1230 VALUES(2,'1','1');
INSERT INTO T1230 VALUES(3,'1','1');
INSERT INTO T1230 VALUES(4,'1','1');
INSERT INTO T1230 VALUES(5,'1','0');
INSERT INTO T1230 VALUES(6,'1','0');
INSERT INTO T1230 VALUES(7,'1','1');
INSERT INTO T1230 VALUES(8,'1','1');
INSERT INTO T1230 VALUES(2,'3','1');
INSERT INTO T1230 VALUES(3,'3','1');
INSERT INTO T1230 VALUES(4,'3','1');
INSERT INTO T1230 VALUES(5,'3','0');
INSERT INTO T1230 VALUES(6,'3','1');
INSERT INTO T1230 VALUES(7,'3','1');
INSERT INTO T1230 VALUES(8,'3','0' );
应读者的要求,我将参考答案公布了,有需要的同学可以在下方公众号「数据前线」(非本号)后台回复关键字:1230,即可获取。还是建议先独立答题~
数据前线
后台回复关键字:1024,获取一份精心整理的技术干货
后台回复关键字:进群,带你进入高手如云的交流群。
推荐阅读
评论