摘要: 输出null,所以外面再加一层 select (select distinct salary from Employee order by salary desc limit 1,1) as SecondHighestSalary 我的理解是:当Employee表里只有一条数据时,内层SQL语句查询 阅读全文
posted @ 2021-03-17 11:25 生菜菜小姐 阅读(24) 评论(0) 推荐(0)