A table (t1) contains 1000 random integer values in the first column (col1).The random values are in the range of 0-1000.
Examine this query:
SELECT col1 FROM t1 WHERE col1 <=100 UNION
SELECT col1 FROM t1 WHERE col1 >=900 ORDER BY col1 DESC
What is the expected output?
chehin
2 years, 7 months agochehin
2 years, 7 months agomschnittker
4 years, 3 months agoAkarim
4 years, 9 months agoLara
5 years, 10 months ago