In the previous chapter, we laid the groundwork for using SQL with Oracle databases. Now, we are almost ready to begin writing our own SQL statements. But, first, we'll need to examine the rules. Once that's complete, we will proceed to learn several different basic SQL queries, all derived from the single, most important SQL statement at our disposal—the SELECT
statement. With this statement, we can retrieve data from an Oracle database and, by the end of the chapter, will begin to do transformations of the data as well. Beginning with this chapter, we also make note of the Certification objectives covered. This is a guide for us to match our subject matter with the objectives of the certification exam.
In this chapter, we shall:
Understand the purpose of
SELECT
statementsExplore the syntax and usage of
SELECT
statementsUse
SELECT
for single-column data retrievalUse
SELECT
for multi-column data retrievalUse
SELECT
to retrieve all the columns in a tableDisplay...