sql-tests.testcases.with_clause.withExprUsingOrderbyLimit.sql Maven / Gradle / Ivy
-- database: presto; groups: with_clause; tables: nation; queryType: SELECT
WITH ordered AS (select n_nationkey a, n_regionkey b, n_name c from nation order by 1,2 limit 10)
select * from ordered order by 1,2 limit 5
© 2015 - 2024 Weber Informatics LLC | Privacy Policy