Second Highest Salary II
[]
['Create table if not exists Employees (\n    emp_id int,\n    salary int,\n    dept varchar(50)\n)', 'Truncate table employees', "insert into employees (emp_id, salary, dept) values ('1', '70000', 'Sales')", "insert into employees (emp_id, salary, dept) values ('2', '80000', 'Sales')", "insert into employees (emp_id, salary, dept) values ('3', '80000', 'Sales')", "insert into employees (emp_id, salary, dept) values ('4', '90000', 'Sales')", "insert into employees (emp_id, salary, dept) values ('5', '55000', 'IT')", "insert into employees (emp_id, salary, dept) values ('6', '65000', 'IT')", "insert into employees (emp_id, salary, dept) values ('7', '65000', 'IT')", "insert into employees (emp_id, salary, dept) values ('8', '50000', 'Marketing')", "insert into employees (emp_id, salary, dept) values ('9', '55000', 'Marketing')", "insert into employees (emp_id, salary, dept) values ('10', '55000', 'HR')"]
{"mysql": ["Create table if not exists Employees (\n    emp_id int,\n    salary int,\n    dept varchar(50)\n)"], "mssql": ["Create table Employees (\n    emp_id int,\n    salary int,\n    dept varchar(50)\n)"], "oraclesql": ["Create table Employees (\n    emp_id number,\n    salary number,\n    dept varchar2(50)\n)"], "database": true, "name": "find_second_highest_salary", "postgresql": ["CREATE TABLE IF NOT EXISTS Employees (\n    emp_id INT,\n    salary INT,\n    dept VARCHAR(50)\n);\n"], "pythondata": ["employees = pd.DataFrame({\n    'emp_id': pd.Series(dtype='int'),\n    'salary': pd.Series(dtype='int'),\n    'dept': pd.Series(dtype='string')\n})"], "database_schema": {"Employees": {"emp_id": "INT", "salary": "INT", "dept": "VARCHAR(50)"}}}
{"mysql": ["MySQL", "<p><code>MySQL 8.0</code>.</p>"], "mssql": ["MS SQL Server", "<p><code>mssql server 2019</code>.</p>"], "oraclesql": ["Oracle", "<p><code>Oracle Sql 11.2</code>.</p>"], "pythondata": ["Pandas", "<p>Python 3.10 with Pandas 2.2.2 and NumPy 1.26.4</p>"], "postgresql": ["PostgreSQL", "<p>PostgreSQL 16</p>"]}
['Database']