Get in Touch

Course Outline

Relational database models

  • The structure of a relational database
  • Types of table relationships
  • Database normalization and denormalization
  • Relational operators

Retrieving Data

  • Rules for writing SQL queries
  • SELECT statement syntax
  • Selecting all columns
  • Queries involving arithmetic operations
  • Column aliases
  • Literals
  • Concatenation operator

Limiting Results

  • The WHERE clause
  • Comparison operators
  • LIKE condition
  • BETWEEN ... AND condition
  • IS NULL condition
  • IN condition
  • Boolean operators: AND, OR, and NOT
  • Using multiple conditions in the WHERE clause
  • Operator precedence
  • DISTINCT clause

Sorting Data

  • The ORDER BY clause
  • Sorting by multiple columns or expressions

SQL Functions

  • Differences between single-row and multi-row functions
  • Text, numeric, and date functions
  • Explicit and implicit conversions
  • Conversion functions
  • Nesting functions
  • Testing function performance using the DUAL table
  • Obtaining the current date using the SYSDATE function
  • Handling NULL values

Aggregating Data Using Grouping

  • Aggregate functions
  • How aggregate functions handle NULL values
  • Creating data groups: the GROUP BY clause
  • Grouping by multiple columns
  • Limiting group function results: the HAVING clause

Retrieving Data from Multiple Tables

  • Types of joins
  • Using NATURAL JOIN
  • Table aliases
  • Joins within the WHERE clause
  • INNER JOIN
  • Outer joins: LEFT, RIGHT, and FULL OUTER JOIN
  • Cartesian product

Subqueries

  • Placing subqueries in the SELECT command
  • Single-line and multi-line subqueries
  • Operators for single-line subqueries
  • Aggregate functions within subqueries
  • Operators for multi-line subqueries: IN, ALL, ANY
  • How NULL values are handled in subqueries

Set Operators

  • UNION operator
  • UNION ALL operator
  • INTERSECT operator
  • MINUS operator

Inserting, Updating, and Deleting Data

  • INSERT command
  • Copying data from another table
  • UPDATE command
  • DELETE command
  • TRUNCATE command

Transactions

  • Commands: COMMIT, ROLLBACK, and SAVEPOINT

DDL Commands

  • Main database objects
  • Rules for naming objects
  • Creating tables
  • Data types available for columns
  • DEFAULT option
  • NULL and NOT NULL options

Managing Tables

  • Referential integrity: CHECK, PRIMARY KEY, FOREIGN KEY, UNIQUE
  • Creating a table via a query
  • Deleting a table: DROP TABLE
  • DESCRIBE command

Other Schema Objects

  • Sequences
  • Synonyms
  • Views

Requirements

  • Basic computer literacy
  • Familiarity with any operating system
 21 Hours

Testimonials (6)

Related Categories