select distinct s.id,s.name from student s join class c on s.classId = c.id where s.math>60
...全文
1085打赏收藏
mysql数据库问题
把公司的数据库考到了本地,在本地用多表查询时,速递非常的慢,半天也不动,用的两个表的外连接查询,而在公司正式数据库中查询,一下子就出来了,那位大侠知道什么原因,类似以下语句 select distinct s.id,s.name from student s join class c on s.classId = c.id where s.math>60