摘要:
select distinct a.Num as ConsecutiveNums from Logs as a,Logs as b,Logs as c where a.Num=b.Num and b.Num=c.Num and a.id=b.id-1 and b.id=c.id-1; 阅读全文
摘要:
class Solution { public String largestNumber(int[] nums) { String[] numStrs = new String[nums.length]; for(int i = 0; i < nums.length; ++ i) { numStrs 阅读全文
摘要:
SELECT Score, dense_rank() over(order by Score desc) as 'Rank' FROM Scores 阅读全文
摘要:
select ifnull ( (select distinct Salary from Employee order by Salary desc limit 1,1), null )as 'SecondHighestSalary' 编写一个 SQL 查询,获取 Employee 表中第二高的薪水 阅读全文