时间:2021-07-01 10:21:17 帮助过:3人阅读
1.MySQL创建表和设置主键
a. CREATE TABLE db (‘id‘ VARCHAR(10), ‘name‘ int(20), ‘phone‘ VARCHAR(11), ‘score‘ varchar(10)) PRIMARY key (‘id‘);
b. select name, score from db where score in (‘100‘, ‘60‘ ‘0‘);
面试时遇到的SQL记录
标签:sel name arc mysq com tab png sql table