-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
568 additions
and
16 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,348 @@ | ||
select 0.95 as field | ||
from system.one | ||
where | ||
case | ||
when field >= 0.9 | ||
then '90-100%' | ||
when field >= 0.8 and field < 0.9 | ||
then '80-89%' | ||
when field >= 0.7 and field < 0.8 | ||
then '70-79%' | ||
when field >= 0.6 and field < 0.7 | ||
then '60-69%' | ||
when field >= 0.5 and field < 0.6 | ||
then '50-59%' | ||
when field >= 0.4 and field < 0.5 | ||
then '40-49%' | ||
when field >= 0.3 and field < 0.4 | ||
then '30-39%' | ||
when field >= 0.2 and field < 0.3 | ||
then '20-29%' | ||
when field >= 0.1 and field < 0.2 | ||
then '10-19%' | ||
else '0-9%' | ||
end != '90-100%' | ||
|
||
union all | ||
|
||
select 0.8 as field | ||
from system.one | ||
where | ||
case | ||
when field >= 0.9 | ||
then '90-100%' | ||
when field >= 0.8 and field < 0.9 | ||
then '80-89%' | ||
when field >= 0.7 and field < 0.8 | ||
then '70-79%' | ||
when field >= 0.6 and field < 0.7 | ||
then '60-69%' | ||
when field >= 0.5 and field < 0.6 | ||
then '50-59%' | ||
when field >= 0.4 and field < 0.5 | ||
then '40-49%' | ||
when field >= 0.3 and field < 0.4 | ||
then '30-39%' | ||
when field >= 0.2 and field < 0.3 | ||
then '20-29%' | ||
when field >= 0.1 and field < 0.2 | ||
then '10-19%' | ||
else '0-9%' | ||
end != '80-89%' | ||
|
||
union all | ||
|
||
select 0.700009 as field | ||
from system.one | ||
where | ||
case | ||
when field >= 0.9 | ||
then '90-100%' | ||
when field >= 0.8 and field < 0.9 | ||
then '80-89%' | ||
when field >= 0.7 and field < 0.8 | ||
then '70-79%' | ||
when field >= 0.6 and field < 0.7 | ||
then '60-69%' | ||
when field >= 0.5 and field < 0.6 | ||
then '50-59%' | ||
when field >= 0.4 and field < 0.5 | ||
then '40-49%' | ||
when field >= 0.3 and field < 0.4 | ||
then '30-39%' | ||
when field >= 0.2 and field < 0.3 | ||
then '20-29%' | ||
when field >= 0.1 and field < 0.2 | ||
then '10-19%' | ||
else '0-9%' | ||
end != '70-79%' | ||
|
||
union all | ||
|
||
select 0.69999 as field | ||
from system.one | ||
where | ||
case | ||
when field >= 0.9 | ||
then '90-100%' | ||
when field >= 0.8 and field < 0.9 | ||
then '80-89%' | ||
when field >= 0.7 and field < 0.8 | ||
then '70-79%' | ||
when field >= 0.6 and field < 0.7 | ||
then '60-69%' | ||
when field >= 0.5 and field < 0.6 | ||
then '50-59%' | ||
when field >= 0.4 and field < 0.5 | ||
then '40-49%' | ||
when field >= 0.3 and field < 0.4 | ||
then '30-39%' | ||
when field >= 0.2 and field < 0.3 | ||
then '20-29%' | ||
when field >= 0.1 and field < 0.2 | ||
then '10-19%' | ||
else '0-9%' | ||
end != '60-69%' | ||
|
||
union all | ||
|
||
select 0.5 as field | ||
from system.one | ||
where | ||
case | ||
when field >= 0.9 | ||
then '90-100%' | ||
when field >= 0.8 and field < 0.9 | ||
then '80-89%' | ||
when field >= 0.7 and field < 0.8 | ||
then '70-79%' | ||
when field >= 0.6 and field < 0.7 | ||
then '60-69%' | ||
when field >= 0.5 and field < 0.6 | ||
then '50-59%' | ||
when field >= 0.4 and field < 0.5 | ||
then '40-49%' | ||
when field >= 0.3 and field < 0.4 | ||
then '30-39%' | ||
when field >= 0.2 and field < 0.3 | ||
then '20-29%' | ||
when field >= 0.1 and field < 0.2 | ||
then '10-19%' | ||
else '0-9%' | ||
end != '50-59%' | ||
|
||
union all | ||
|
||
select 0.4123 as field | ||
from system.one | ||
where | ||
case | ||
when field >= 0.9 | ||
then '90-100%' | ||
when field >= 0.8 and field < 0.9 | ||
then '80-89%' | ||
when field >= 0.7 and field < 0.8 | ||
then '70-79%' | ||
when field >= 0.6 and field < 0.7 | ||
then '60-69%' | ||
when field >= 0.5 and field < 0.6 | ||
then '50-59%' | ||
when field >= 0.4 and field < 0.5 | ||
then '40-49%' | ||
when field >= 0.3 and field < 0.4 | ||
then '30-39%' | ||
when field >= 0.2 and field < 0.3 | ||
then '20-29%' | ||
when field >= 0.1 and field < 0.2 | ||
then '10-19%' | ||
else '0-9%' | ||
end != '40-49%' | ||
|
||
union all | ||
|
||
select 0.3000000000 as field | ||
from system.one | ||
where | ||
case | ||
when field >= 0.9 | ||
then '90-100%' | ||
when field >= 0.8 and field < 0.9 | ||
then '80-89%' | ||
when field >= 0.7 and field < 0.8 | ||
then '70-79%' | ||
when field >= 0.6 and field < 0.7 | ||
then '60-69%' | ||
when field >= 0.5 and field < 0.6 | ||
then '50-59%' | ||
when field >= 0.4 and field < 0.5 | ||
then '40-49%' | ||
when field >= 0.3 and field < 0.4 | ||
then '30-39%' | ||
when field >= 0.2 and field < 0.3 | ||
then '20-29%' | ||
when field >= 0.1 and field < 0.2 | ||
then '10-19%' | ||
else '0-9%' | ||
end != '30-39%' | ||
|
||
union all | ||
|
||
select 0.276734 as field | ||
from system.one | ||
where | ||
case | ||
when field >= 0.9 | ||
then '90-100%' | ||
when field >= 0.8 and field < 0.9 | ||
then '80-89%' | ||
when field >= 0.7 and field < 0.8 | ||
then '70-79%' | ||
when field >= 0.6 and field < 0.7 | ||
then '60-69%' | ||
when field >= 0.5 and field < 0.6 | ||
then '50-59%' | ||
when field >= 0.4 and field < 0.5 | ||
then '40-49%' | ||
when field >= 0.3 and field < 0.4 | ||
then '30-39%' | ||
when field >= 0.2 and field < 0.3 | ||
then '20-29%' | ||
when field >= 0.1 and field < 0.2 | ||
then '10-19%' | ||
else '0-9%' | ||
end != '20-29%' | ||
|
||
union all | ||
|
||
select 0.11111 as field | ||
from system.one | ||
where | ||
case | ||
when field >= 0.9 | ||
then '90-100%' | ||
when field >= 0.8 and field < 0.9 | ||
then '80-89%' | ||
when field >= 0.7 and field < 0.8 | ||
then '70-79%' | ||
when field >= 0.6 and field < 0.7 | ||
then '60-69%' | ||
when field >= 0.5 and field < 0.6 | ||
then '50-59%' | ||
when field >= 0.4 and field < 0.5 | ||
then '40-49%' | ||
when field >= 0.3 and field < 0.4 | ||
then '30-39%' | ||
when field >= 0.2 and field < 0.3 | ||
then '20-29%' | ||
when field >= 0.1 and field < 0.2 | ||
then '10-19%' | ||
else '0-9%' | ||
end != '10-19%' | ||
|
||
union all | ||
|
||
select 0.0342 as field | ||
from system.one | ||
where | ||
case | ||
when field >= 0.9 | ||
then '90-100%' | ||
when field >= 0.8 and field < 0.9 | ||
then '80-89%' | ||
when field >= 0.7 and field < 0.8 | ||
then '70-79%' | ||
when field >= 0.6 and field < 0.7 | ||
then '60-69%' | ||
when field >= 0.5 and field < 0.6 | ||
then '50-59%' | ||
when field >= 0.4 and field < 0.5 | ||
then '40-49%' | ||
when field >= 0.3 and field < 0.4 | ||
then '30-39%' | ||
when field >= 0.2 and field < 0.3 | ||
then '20-29%' | ||
when field >= 0.1 and field < 0.2 | ||
then '10-19%' | ||
else '0-9%' | ||
end != '0-9%' | ||
|
||
union all | ||
|
||
select 0.00000005 as field | ||
from system.one | ||
where | ||
case | ||
when field >= 0.9 | ||
then '90-100%' | ||
when field >= 0.8 and field < 0.9 | ||
then '80-89%' | ||
when field >= 0.7 and field < 0.8 | ||
then '70-79%' | ||
when field >= 0.6 and field < 0.7 | ||
then '60-69%' | ||
when field >= 0.5 and field < 0.6 | ||
then '50-59%' | ||
when field >= 0.4 and field < 0.5 | ||
then '40-49%' | ||
when field >= 0.3 and field < 0.4 | ||
then '30-39%' | ||
when field >= 0.2 and field < 0.3 | ||
then '20-29%' | ||
when field >= 0.1 and field < 0.2 | ||
then '10-19%' | ||
else '0-9%' | ||
end != '0-9%' | ||
|
||
union all | ||
|
||
select -0.1 as field | ||
from system.one | ||
where | ||
case | ||
when field >= 0.9 | ||
then '90-100%' | ||
when field >= 0.8 and field < 0.9 | ||
then '80-89%' | ||
when field >= 0.7 and field < 0.8 | ||
then '70-79%' | ||
when field >= 0.6 and field < 0.7 | ||
then '60-69%' | ||
when field >= 0.5 and field < 0.6 | ||
then '50-59%' | ||
when field >= 0.4 and field < 0.5 | ||
then '40-49%' | ||
when field >= 0.3 and field < 0.4 | ||
then '30-39%' | ||
when field >= 0.2 and field < 0.3 | ||
then '20-29%' | ||
when field >= 0.1 and field < 0.2 | ||
then '10-19%' | ||
else '0-9%' | ||
end != '0-9%' | ||
|
||
union all | ||
|
||
select 123 as field | ||
from system.one | ||
where | ||
case | ||
when field >= 0.9 | ||
then '90-100%' | ||
when field >= 0.8 and field < 0.9 | ||
then '80-89%' | ||
when field >= 0.7 and field < 0.8 | ||
then '70-79%' | ||
when field >= 0.6 and field < 0.7 | ||
then '60-69%' | ||
when field >= 0.5 and field < 0.6 | ||
then '50-59%' | ||
when field >= 0.4 and field < 0.5 | ||
then '40-49%' | ||
when field >= 0.3 and field < 0.4 | ||
then '30-39%' | ||
when field >= 0.2 and field < 0.3 | ||
then '20-29%' | ||
when field >= 0.1 and field < 0.2 | ||
then '10-19%' | ||
else '0-9%' | ||
end != '90-100%' |
Oops, something went wrong.