数据库基本操作Day1
插入数据: insert into table(-,-,-,) values (-,-,-);
查询:
1、指定查询几条数据且从第几条开始查询,select * from table limit 2 offset 5;
2、like模糊查询,select * from table where name like “dai%”;
3、修改,update table set name = “顶顶顶”,age=33 where id>2;
4、排序,selec * from student order by age desc 或 asc