Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

GREATER THAN ALL POSTGRES

SELECT
    film_id,
    title,
    length
FROM
    film
WHERE
    length > ALL (
            SELECT
                ROUND(AVG (length),2)
            FROM
                film
            GROUP BY
                rating
    )
ORDER BY
    length;
Code language: SQL (Structured Query Language) (sql)
Source by www.postgresqltutorial.com #
 
PREVIOUS NEXT
Tagged: #GREATER #THAN #ALL #POSTGRES
ADD COMMENT
Topic
Name
6+7 =