Get in Touch

Course Outline

Relational Database Models

  • Structure of relational databases
  • Types of table connections
  • Database normalization and denormalization
  • Relational operators

Retrieving Data

  • Best practices for writing SQL queries
  • SELECT statement syntax
  • Selecting all columns
  • Performing arithmetic operations in queries
  • Using column aliases
  • Working with literals
  • The concatenation operator

Filtering Results

  • The WHERE clause
  • Comparison operators
  • The LIKE condition
  • Filtering with BETWEEN ... AND
  • The IS NULL condition
  • The IN condition
  • Boolean operators: AND, OR, and NOT
  • Combining multiple conditions in the WHERE clause
  • Operator precedence
  • The 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 data conversion
  • Conversion functions
  • Nesting functions
  • Testing function performance using the DUAL table
  • The SYSDATE function for current date retrieval
  • Handling NULL values

Data Aggregation and Grouping

  • Aggregate functions
  • How aggregate functions handle NULL values
  • Creating data groups with the GROUP BY clause
  • Grouping by multiple columns
  • Filtering grouped results with the HAVING clause

Retrieving Data from Multiple Tables

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

Subqueries

  • Placing subqueries within the SELECT command
  • Single-row and multi-row subqueries
  • Operators for single-row subqueries
  • Using grouping in subqueries
  • Operators for multi-row subqueries: IN, ALL, ANY
  • Treatment of NULL values in subqueries

Set Operators

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

Inserting, Updating, and Deleting Data

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

Transactions

  • Using COMMIT, ROLLBACK, and SAVEPOINT commands

DDL Commands

  • Key database objects
  • Object naming conventions
  • Creating tables
  • Available data types for columns
  • The DEFAULT option
  • NULL and NOT NULL constraints

Table Management

  • Referential integrity constraints: CHECK, PRIMARY KEY, FOREIGN KEY, UNIQUE
  • Creating tables using a query
  • Dropping tables with DROP TABLE
  • The DESCRIBE command

Other Schema Objects

  • Sequences
  • Synonyms
  • Views

Requirements

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

Testimonials (6)

Related Categories