Introduction to SQL Basics | Basic SQL Programming

Introduction to SQL Basics | Basic SQL Programming

TTSQLB3

Introductory

3 Days

Course Objectives

This “skills-centric” course is about 50% hands-on lab and 50% lecture, designed to train attendees core SQL programming and database skills, coupling the most current, effective techniques with the soundest industry practices. Throughout the course students will be led through a series of progressively advanced topics, where each topic consists of lecture, group discussion, comprehensive hands-on lab exercises, and lab review.

 

Our engaging instructors and mentors are highly experienced practitioners who bring years of current "on-the-job" experience into every classroom.  Working within in an engaging, hands-on learning environment, guided by our expert team, attendees will explore:

 

  • Basic RDBMS Principles
  • The SQL Language and Tools
  • Using SQL Developer
  • SQL Query Basics
  • WHERE and ORDER BY
  • Functions
  • ANSI 92 JOINS
  • ANSI 99 Joins
  • GROUP BY and HAVING
  • Subqueries  
  • Regular Expressions
  • Analytics

Course Prerequisites

This is an introductory- level SQL course, appropriate for anyone needing to interface with an Oracle database or those needing a general understanding of Oracle database functionality. That would include end users, business analysts, application developers and database administrators. Basic computer skills are required.  A basic knowledge of databases is desired but not required.

 

Take After: Our core SQl and database training courses provide students with a solid foundation for continued learning based on role, goals, or their areas of specialty.  Our learning paths offer a wide variety of follow-on courses such as:

  • Intermediate or Advanced SQL programming topics
  • Database or tooling topics (SQL Server, Oracle, OBIEE, TOAD, etc)
  • Database security topics
  • Data Analytics / Big Data training – Spark, Hadoop, etc.
  • Please contact us for recommended next steps tailored to your longer-term education, project, role or development objectives.

Course Agenda

Please note that this list of topics is based on our standard course offering, evolved from typical industry uses and trends. We’ll work with you to tune this course and level of coverage to target the skills you need most. Topics, agenda and labs are subject to change, and may adjust during live delivery based on audience needs and skill-level.

 

 

  1. Basic RDBMS Principles

 

  • Relational design principles
  • Accessing data through a structured query language
  • Entity relationship diagrams
  • Data Domains
  • Null values
  • Indexes
  • Views
  • Denormalization
  • Data Model Review
  • Lab: Basic RDBMS principles

 

  1. The SQL Language and Tools

 

  • Using SQL*Plus
  • Why Use SQL*Plus When Other Tools Are Available?
  • Starting SQL*Plus
  • EZConnect
  • SQL Commands  
  • PL/SQL Commands
  • SQL*Plus Commands
  • The COLUMN Command
  • The HEADING Clause
  • The FORMAT Clause
  • The NOPRINT Clause
  • The NULL Clause
  • The CLEAR Clause
  • Predefined define variables
  • LOGIN.SQL
  • Command history
  • Copy and paste in SQL*Plus
  • Entering SQL commands
  • Entering PL/SQL commands
  • Entering SQL*Plus commands
  • Default output from SQL*Plus
  • Entering Queries
  • What about PL/SQL?
  • Lab: SQL Language and Tools

 

  1. Using SQL Developer

 

  • Choosing a SQL Developer version
  • Configuring connections
  • Creating A Basic Connection
  • Creating A TNS Connection
  • Connecting
  • Configuring preferences
  • Using SQL Developer
  • The Columns Tab
  • The Data Tab
  • The Constraints Tab
  • The Grants Tab
  • The Statistics Tab
  • Other Tabs
  • Queries In SQL Developer
  • Query Builder
  • Accessing Objects Owned By Other Users
  • The Actions Pulldown Menu
  • Differences between SQL Developer and SQL*Plus
  • Reporting Commands Missing In SQL Developer
  • General Commands Missing In SQL Developer
  • Data Dictionary report
  • User Defined reports
  • Using scripts in SQL Developer
  • Lab: Using SQL Developer

 

  1. SQL Query Basics

 

  • Understanding the data dictionary
  • Exporting Key Data Dictionary Information
  • The Dictionary View
  • Components of a SELECT Statement      
  • The SELECT Clause
  • The FROM Clause
  • The WHERE Clause
  • The GROUP BY Clause
  • The HAVING Clause
  • The ORDER BY Clause
  • The START WITH And CONNECT BY Clauses
  • The FOR UPDATE Clause
  • Set Operators
  • Column Aliases
  • Fully Qualifying Tables and Columns
  • Table Aliases
  • Using DISTINCT and ALL in SELECT statements
  • Lab: SQL Query Basics

 

  1. WHERE and ORDER BY

 

  • WHERE clause basics
  • Comparison operators
  • Literals and Constants in SQL
  • Simple pattern matching
  • Logical operations
  • The DUAL table
  • Arithmetic operations
  • Expressions in SQL
  • Character operators
  • Pseudo columns
  • Order by clause basics
  • Ordering Nulls
  • Accent and case sensitive sorts
  • Sampling data
  • WHERE and ORDER BY in SQL Developer
  • All, Any, Some
  • Lab: WHERE and ORDER BY

 

  1. Functions

 

  • The basics of Oracle functions
  • Number functions
  • Character functions
  • Date functions
  • Conversion functions
  • Other functions
  • Large object functions
  • Error functions
  • The RR format mode;
  • Leveraging your knowledge
  • Lab: Functions

 

  1. ANSI 92 JOINS

 

  • Basics of ANSI 92 Joins
  • Using Query Builder with multiple tables
  • Table Aliases
  • Outer joins
  • Outer Joins In Query Builder
  • Set operators
  • Self-referential joins
  • Non-Equijoins
  • Lab: ANSI 92 Joins

 

  1. ANSI 99 Joins
  • Changes with ANSI99
  • CROSS Join
  • NATURAL Join
  • JOIN USING
  • JOIN ON
  • LEFT / RIGHT OUTER JOIN
  • FULL OUTER JOIN
  • Lab: ANSI 99 JOINS

 

  1. GROUP BY and HAVING
  • Introduction to GROUP functions Limiting Rows
  • Including NULL
  • Using DISTINCT With Group Functions
  • GROUP function requirements
  • The HAVING clause
  • Other GROUP function rules
  • Using Query Builder with GROUP clauses
  • ROLLUP and CUBE
  • The Grouping function
  • Grouping Sets
  • Lab: GROUP BY and HAVING

 

  1. Subqueries  

 

  • Why use subqueries?
  • WHERE clause subqueries
  • FROM clause subqueries
  • HAVING clause subqueries
  • CORRELATED subqueries
  • SCALAR subqueries
  • DML and subqueries 
  • EXISTS subqueries      
  • Hierarchical queries   
  • TOP N AND BOTTOM N queries
  • Creating subqueries using Query Builder
  • Lab: Subqueries

 

  1. Regular Expressions
  • Available Regular Expressions
  • Regular Expression Operators
  • Character Classes
  • Pattern matching options
  • REGEX_LIKE
  • REGEXP_SUBSTR
  • REGEXP_INSTR
  • REGEXP_REPLACE
  • REGEXP_COUNT
  • Lab: Regular Expressions

 

  1. Analytics

 

  • The WITH clause
  • Reporting aggregate functions
  • Analytical functions
  • User-Defined bucket histograms
  • The MODEL clause
  • PIVOT and UNPIVOT
  • Temporal validity
  • Lab: Analytics

 

  1. More Analytics
  • RANKING functions
  • RANK
  • DENSE_RANK
  • CUME_DIST
  • PERCENT_RANK         
  • ROW_NUMBER          
  • Windowing aggregate functions
  • RATIO_TO_REPORT
  • LAG / LEAD
  • Linear Regression functions
  • Inverse Percentile functions
  • Hypothetical ranking functions
  • Pattern Matching

Course Materials

Each student will receive a Student Guide with course notes, code samples, software tutorials, diagrams and related reference materials and links (as applicable). Our courses also include step by step hands-on lab instructions and and solutions, clearly illustrated for users to complete hands-on work in class, and to revisit to review or refresh skills at any time. Students will also receive the project files (data sets or code, as applicable) and solutions required for the hands-on work.

Raise the bar for advancing technology skills

Attend a Class!

Live scheduled classes are listed below or browse our full course catalog anytime

Special Offers

We regulary offer discounts for individuals, groups and corporate teams. Contact us

Custom Team Training

Check out custom training solutions planned around your unique needs and skills.

EveryCourse Extras

Exclusive materials, ongoing support and a free live course refresh with every class.

Attend a Course

Please see the current upcoming available open enrollment course dates posted below. Please feel free to Register Online below, or call 844-475-4559 toll free to connect with our Registrar for assistance. If you need additional date options, please contact us for scheduling.

Course Title Days Date Time Price
Introduction to SQL Basics | Basic SQL Programming 3 Days Jun 14 to Jun 16 10:00 AM to 06:00 PM EST $1,795.00 Enroll
Introduction to SQL Basics | Basic SQL Programming 3 Days Jul 26 to Jul 28 10:00 AM to 06:00 PM EST $1,795.00 Enroll

New Site, BIG Savings!
We're celebrating the launch of our lonnngggg awaited new site with with *50% off all 2021 Public Classes* booked by April 30!  Check out our Current Offers for Individuals, Teams and Organizations to Learn for Less!

See our latest Offers and Promotions

Learn. Explore. Advance!

Extend your training investment! Recorded sessions, free re-sits and after course support included with Every Course
Trivera MiniCamps
Gain the skills you need with less time in the classroom with our short course, live-online hands-on events
Trivera QuickSkills: Free Courses and Webinars
Training on us! Keep your skills current with free live events, courses & webinars
Trivera AfterCourse: Coaching and Support
Expert level after-training support to help organizations put new training skills into practice on the job

The voices of our customers speak volumes

Special Offers
Limited Offer for most courses.

SAVE 50%

Learn More