Oracle Clauses
Oracle HAVING
In Oracle, HAVING Clause is used with GROUP BY Clause to restrict the groups of returned rows where condition is TRUE. Syntax: SELECT expression1, expression2, … expression_n, aggregate_function (aggregate_expression) FROM tables…
Oracle GROUP BY
In Oracle GROUP BY clause is used with SELECT statement to collect data from multiple records and group the results by one or more columns….
Oracle ORDER BY
In Oracle, ORDER BY Clause is used to sort or re-arrange the records in the result set. The ORDER BY clause is only used with…
Oracle FROM
FROM clause is a mandatory clause in SELECT expression. It specifies the tables from which data is to be retrieved. Syntax: FROM table_name… Expressions… Oracle FROM…
Oracle DISTINCT
Oracle DISTINCT clause is used to remove the duplicate records from the result set. It is only used with SELECT statement. Syntax: SELECT DISTINCT expressions FROM tables WHERE conditions;…