Skip to content

176. Second Highest Salary #7880

@muradhajii

Description

@muradhajii

Your LeetCode username

tVahee

Category of the bug

  • [1 ] Solution

Description of the bug

In my oraclesql program when i write this code it's working normal

Code you used for Submit/Run operation

select distinct salary as "SecondHighestSalary" 
from employee order by salary desc 
offset 1 row 
fetch first 1 row only;

Language used for code

Oracle

Expected behavior

I expected that when i write my code this will return me correct answer.

leetcodeerror

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions