We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
原SQL语句:
select * -- comment from tb where col = 1;
结果:
★ ★ ★ ★ ☆ 95分
SELECT *
Item: COL.001
Severity: L1
Content: 当表结构变更时,使用*通配符选择所有列将导致查询的含义和行为会发生更改,可能导致查询返回更多的数据。
★ ★ ★ ★ ★ 100分
FROM tb WHERE col = 1
The text was updated successfully, but these errors were encountered:
147ee2d
select * from -- comment tb; select col from tb where col = 1;
two SQLs merge into one
Sorry, something went wrong.
refix #116
e08a3b0
single line comment in sql will merge next line into before one.
No branches or pull requests
原SQL语句:
结果:
Query: 1E82204137DA4CA4
★ ★ ★ ★ ☆ 95分
不建议使用SELECT * 类型查询
Item: COL.001
Severity: L1
Content: 当表结构变更时,使用*通配符选择所有列将导致查询的含义和行为会发生更改,可能导致查询返回更多的数据。
Query: 12FBD9CEB5E1C0D9
★ ★ ★ ★ ★ 100分
OK
The text was updated successfully, but these errors were encountered: