摘要:
desc 表名; 显示表结构 select * from student; 查看表格内容 alter table student rename to students; 修改表格名字 from students; 查看表 insert into students values(0,'高海',20,1 阅读全文
摘要:
desc 表名; 显示表结构 select * from student; 查看表格内容 alter table student rename to students; 修改表格名字 from students; 查看表 insert into students values(0,'高海',20,1 阅读全文
摘要:
模糊匹配 like %表示任意多个任意字符 _表示一个任意字符 例7:查询姓黄的学生 select *from student where name like ’黄%‘ 例8:查询姓黄并且“名”是一个字的学生 select *from student where name like ’黄_‘ 范围查 阅读全文