Sample Reporting
  • Help
    • Sign Out
  • Sample Reports
    • Interactive Grid
    • Interactive Report
    • Classic Report
    • Sidebar Filter
  • Use Cases
    • Drill Down Report
    • Report Highlighting
    • Interactive Report Query API
    • Linking to Interactive Reports
    • Bind Variables
    • Filtering
    • Non-Tabular Templates
    • Column Format Masks
    • Custom Buttons
    • Reporting from Collections
  • SQL Examples
    • CASE Statements
    • Connect By
    • Pivot
    • Regular Expressions
    • Soundex
    • String Functions
    • Group By
    • Inline Views
    • Pipelined Functions
  • Analytic Functions
    • LEAD and LAG
    • LISTAGG
    • RANK and DENSE_RANK
    • RATIO_TO_REPORT
    • ROW_NUMBER
    • Top N Queries
  • Administration
  • SQL Examples

Breadcrumb

SQL Syntax Examples

  • CASE Statements

    Highlights the Oracle CASE statement which can be used to perform IF-THEN-ELSE logic in queries.
  • Connect By

    Demonstrates a hierarchy query using connect by and the sys connect by path.
  • Pivot

    Highlights the use of the PIVOT operator. This operator takes data in separate rows, aggregates it, and converts it into columns.
  • Regular Expressions

    Regular expressions enable you to search for patterns in string data by using standardized syntax conventions.
  • Soundex

    This function lets you compare words that are spelled differently, but sound alike in English.
  • String Functions

    Examples of substr, instr, nvl, nvl2, coalesce, replace, and trim SQL functions.
  • Group By

    The GROUP BY clause allows a developer to use SQL aggregate functions (AVG, COUNT, MAX, MIN, STDDEV, SUM and VARIANCE).
  • Inline Views

    Inline views are commonly used to simplify complex queries by removing join operations.
  • Pipelined Functions

    Pipelined functions provide the ability to reference the data returned by a PL/SQL process as a table in a SQL statement.
1.2.24
Built with using Oracle APEX(opens in new window)