rspec/rules/S3633/rule.adoc

15 lines
268 B
Plaintext

== Why is this an issue?
Queries with contradictory ``++WHERE++`` clauses will always return empty result sets. This is clearly a bug.
=== Noncompliant code example
[source,text]
----
SELECT *
FROM fruit
WHERE type='apple' AND type='orange' -- Noncompliant
----