Loading topic
SELECT statement retrieves data from an Oracle database. It can return columns from a table, calculate expressions, or do both. A query usually contains these parts:3 min reademployees table from Oracle's HR sample schema. A SELECT statement chooses data to return. The FROM clause identifies the table that supplies that data.2 min readSELECT statements, columns, rows, data types, and the DUAL table. This chapter focuses on functions that calculate one result for each input row.2 min readDUAL when a query needs one row but does not need to read an application table.2 min readSELECT and WHERE clauses. The examples use the HR sample schema's employees table. You also need basic knowledge of numbers, strings, and dates.2 min readSELECT statements. You should also be able to connect to an Oracle Database session and recognize numbers, strings, and dates.2 min reademployees table.2 min readSELECT statements. You should also be able to use ORDER BY to sort query results and run SQL in an Oracle Database session.4 min readSELECT statement. The SQL text is written in one order, but Oracle reasons about its result in a different logical order. Knowing that order explains why some aliases work in `ORDER BY2 min read