摘要:
问题 正解 drop PROCEDURE if EXISTS getNthHighestSalary; create PROCEDURE getNthHighestSalary(N int) begin SELECT * FROM employee e WHERE 4=( SELECT count( 阅读全文
posted @ 2022-01-11 22:21
UsingStuding
阅读(53)
评论(0)
推荐(0)
摘要:
问题描述 原始数据 正解 CREATE TABLE cinema( seat_id int PRIMARY KEY auto_increment, `FREE` boolean )charset=utf8; insert into cinema(free) values(1), (0), (0), 阅读全文
posted @ 2022-01-11 22:16
UsingStuding
阅读(152)
评论(0)
推荐(0)
摘要:
问题 答案 -- 方法1: where子查询+max SELECT max(salary) from leetcode_db.employee AS ta where salary < (select MAX(Salary) from leetcode_db.employee AS tb); -- 阅读全文
posted @ 2022-01-11 09:38
UsingStuding
阅读(90)
评论(0)
推荐(0)

浙公网安备 33010602011771号