锁定表:LOCK TABLES tbl_name {READ | WRITE},[ tbl_name {READ | WRITE},…]
解锁表:UNLOCK TABLES!
查询select * from student where score between 50 and 60
改成绩
update student set score=score+5 where score between 50 and 60
拜托楼上的select * from 表名 where 学分<(select 学分 from 表名 where 课程名='计算机网络')
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)