在数据库中用sql语句怎么查询年龄大于20

2025-05-14 12:56:12
推荐回答(1个)
回答(1):

如果表为sutdent,年龄字段为age,则SQL语句如下:
select * from student where age>20;
执行即可查询到所有年龄大于20的记录