Skip to content

After click on code now , only empty file show up for some questions #459

Closed
@joey-jiang6

Description

@joey-jiang6

🐛 Bug Report

Error: Command "node "/Users/jiang/.vscode/extensions/shengchen.vscode-leetcode-0.15.7/node_modules/vsc-leetcode-cli/bin/leetcode",show,196,-cx,-l,java" failed with exit code "0". Please open the output channel for details.

To Reproduce

Click on question 175, and click on code now, then the error appears out. the file is empty
but some of question like 326.

Expected behavior

A clear and concise description of what you expected to happen.

Extension Output

Error: Command "node "/Users/jiang/.vscode/extensions/shengchen.vscode-leetcode-0.15.7/node_modules/vsc-leetcode-cli/bin/leetcode",show,196,-cx,-l,java" failed with exit code "0". Please open the output channel for details.

Guidance: Press Ctrl+Shift+U, and toggle the channel to LeetCode.
[176] 第二高的薪水

https://leetcode-cn.com/problems/second-highest-salary/description/

Tags: database

Langs: mssql mysql oraclesql

  • database
  • Easy (32.80%)
  • Likes: 409
  • Dislikes: -
  • Total Accepted: 52.6K
  • Total Submissions: 159.8K
  • Testcase Example: '{"headers": {"Employee": ["Id", "Salary"]}, "rows": {"Employee": [[1, 100], [2, 200], [3, 300]]}}'

编写一个 SQL 查询,获取 Employee 表中第二高的薪水(Salary) 。

+----+--------+
| Id | Salary |
+----+--------+
| 1  | 100    |
| 2  | 200    |
| 3  | 300    |
+----+--------+

例如上述 Employee 表,SQL查询应该返回 200 作为第二高的薪水。如果不存在第二高的薪水,那么查询应返回 null

+---------------------+
| SecondHighestSalary |
+---------------------+
| 200                 |
+---------------------+

[176] 第二高的薪水

https://leetcode-cn.com/problems/second-highest-salary/description/

Tags: database

Langs: mssql mysql oraclesql

  • database
  • Easy (32.80%)
  • Likes: 409
  • Dislikes: -
  • Total Accepted: 52.6K
  • Total Submissions: 159.8K
  • Testcase Example: '{"headers": {"Employee": ["Id", "Salary"]}, "rows": {"Employee": [[1, 100], [2, 200], [3, 300]]}}'

编写一个 SQL 查询,获取 Employee 表中第二高的薪水(Salary) 。

+----+--------+
| Id | Salary |
+----+--------+
| 1  | 100    |
| 2  | 200    |
| 3  | 300    |
+----+--------+

例如上述 Employee 表,SQL查询应该返回 200 作为第二高的薪水。如果不存在第二高的薪水,那么查询应返回 null

+---------------------+
| SecondHighestSalary |
+---------------------+
| 200                 |
+---------------------+

[176] 第二高的薪水

https://leetcode-cn.com/problems/second-highest-salary/description/

Tags: database

Langs: mssql mysql oraclesql

  • database
  • Easy (32.80%)
  • Likes: 409
  • Dislikes: -
  • Total Accepted: 52.6K
  • Total Submissions: 159.8K
  • Testcase Example: '{"headers": {"Employee": ["Id", "Salary"]}, "rows": {"Employee": [[1, 100], [2, 200], [3, 300]]}}'

编写一个 SQL 查询,获取 Employee 表中第二高的薪水(Salary) 。

+----+--------+
| Id | Salary |
+----+--------+
| 1  | 100    |
| 2  | 200    |
| 3  | 300    |
+----+--------+

例如上述 Employee 表,SQL查询应该返回 200 作为第二高的薪水。如果不存在第二高的薪水,那么查询应返回 null

+---------------------+
| SecondHighestSalary |
+---------------------+
| 200                 |
+---------------------+

Your Environment

  • os: catalina
  • extension settings: normal
  • nodejs version: v10.16.3
  • vscode version: v1.38.1
  • extension version: 0.15.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions