SQL问题要查询class表中字段c_stu值大于50,或者20
要查询class表中字段c_stu值大于50,或者20小于的记录,并只返回c_stu和c_name字段,应如何写
啊 select c_stu,c_name from class where c_stu>50 or c_stu<20 就行了。 后面的部分,字段和表弄混了?。。。