Introduction to SQL Programming Basics (TTSQL002)

Explore RDBMS Basics, SQL Language and Tools Essentials, Querying Basics, ASNI Joins, Functions & More

TTSQL002

Introductory

3 Days

Course Overview

Overview

SQL, or Structured Query Language, serves as the backbone of modern data management and manipulation. Understanding its principles allows technical professionals to create, maintain, and interrogate databases, giving them the power to make data-driven decisions that can shape the success of their organizations. From e-commerce platforms to complex inventory systems, SQL is the key to managing big data and transforming it into actionable insights.

Geared for experienced technical professionals, Introduction to SQL Programming is a three-day, hands-on course that will provide you with a solid understanding of SQL programming, providing you with the tools, techniques, and insights required to excel in database management and analysis.

Throughout the course, you’ll learn how to handle data challenges with creativity and precision, learning how to extract, analyze, and interpret large datasets. This includes developing abilities to craft, interpret, and optimize SQL queries, analyze data, and implement effective database solutions, leading to informed, data-driven decision-making.  You’ll explore relational design principles, entity relationship diagrams, and the creation of efficient data models to represent complex relationships within data.  The course also covers how to construct, interpret, and optimize SQL queries, including the use of functions, joins, subqueries, and advanced analytical techniques.

Through extensive lab work, you’ll gain the foundational knowledge and practical skills required to tackle various data challenges with confidence and creativity. You’ll exit the course equipped with the SQL knowledge and skills needed to craft, interpret, and optimize SQL queries, analyze data, and implement effective database solutions, leading to informed, data-driven decision-making within your organization.

NOTE: This course provides a complete, hands-on introduction to SQL including the use of both SQL Developer and SQL*Plus in some cases, however Oracle tooling is not the focus of the course, and other tooling or database options may be available. Please advise if you want to use another tool in class and we can coordinate alternative options with you in advance of the delivery.

 

Learning Objectives

Working in a hands-on learning environment, led by our expert instructor, you’ll explore:

  • Basic RDBMS Principles: Learn the art of relational design, entity relationship diagrams, data domains, and more.
  • The SQL Language and Tools: Get acquainted with SQL*Plus, EZConnect, and other vital SQL and PL/SQL commands.
  • Using SQL Developer: Configure connections, understand different tabs, and become proficient in Query Builder.
  • Essential Query Mechanics: Grasp SQL query basics, functions, ANSI 92 Joins, ANSI 99 Joins, and delve into subqueries.
  • Advanced Analytics: Explore regular expressions, analytics, ranking functions, pattern matching, and more. Throughout the course, hands-on labs will enable participants to apply the learned concepts directly, simulating real-world projects. Whether designing intricate data structures or performing nuanced data analyses, these exercises provide a practical understanding of how SQL can be applied on the job.
  • Data Analysis Essentials: Discover how to extract, analyze, and interpret data, deriving insights that can guide organizational strategies.
  • Database Management: Learn to construct and manage sophisticated database systems, ensuring efficiency and reliability.
  • Versatile Tool Utilization: Master tools like SQL Developer and SQL*Plus, harnessing their full capabilities to optimize your database operations.

Need different skills or topics?  If your team requires different topics or tools, additional skills or custom approach, this course may be further adjusted to accommodate.  We offer additional SQL, database, data analytics and other related courses which may be blended with this course for a track that best suits your development objectives.

 

Course Objectives

Learning Objectives

Working in a hands-on learning environment, led by our expert instructor, you’ll explore:

  • Basic RDBMS Principles: Learn the art of relational design, entity relationship diagrams, data domains, and more.
  • The SQL Language and Tools: Get acquainted with SQL*Plus, EZConnect, and other vital SQL and PL/SQL commands.
  • Using SQL Developer: Configure connections, understand different tabs, and become proficient in Query Builder.
  • Essential Query Mechanics: Grasp SQL query basics, functions, ANSI 92 Joins, ANSI 99 Joins, and delve into subqueries.
  • Advanced Analytics: Explore regular expressions, analytics, ranking functions, pattern matching, and more. Throughout the course, hands-on labs will enable participants to apply the learned concepts directly, simulating real-world projects. Whether designing intricate data structures or performing nuanced data analyses, these exercises provide a practical understanding of how SQL can be applied on the job.
  • Data Analysis Essentials: Discover how to extract, analyze, and interpret data, deriving insights that can guide organizational strategies.
  • Database Management: Learn to construct and manage sophisticated database systems, ensuring efficiency and reliability.
  • Versatile Tool Utilization: Master tools like SQL Developer and SQL*Plus, harnessing their full capabilities to optimize your database operations.

Need different skills or topics?  If your team requires different topics or tools, additional skills or custom approach, this course may be further adjusted to accommodate.  We offer additional SQL, database, data analytics and other related courses which may be blended with this course for a track that best suits your development objectives.

 

Course Prerequisites

Audience & Pre-Requisites

  • Basic Computer Literacy: Familiarity with operating systems, file management, and general computer navigation to ensure a smooth transition into learning SQL tools and environments.
  • Understanding of Fundamental Data Concepts: A grasp of basic data concepts like tables, records, and fields would aid in understanding relational databases and how SQL operates within them.
  • Basic technical background: Although specific prior scripting experience isn’t required to attend, we recommend that you have a background in IT or other technical topics or skills

Related Courses | SQL Training Suite

  • TTSQL002      SQL Programming Basics – 3 days
  • TTSQL003      Writing SQL Queries – 3 days
  • TTSQL005      Advanced SQL Programming – 2 days

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
  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?
  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
  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
  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
  1. Functions
  • The basics of functions
  • Number functions
  • Character functions
  • Date functions
  • Conversion functions
  • Other functions
  • Large object functions
  • Error functions
  • The RR format mode;
  • Leveraging your knowledge
  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
  1. ANSI 99 Joins
  • Changes with ANSI99
  • CROSS Join
  • NATURAL Join
  • JOIN USING
  • JOIN ON
  • LEFT / RIGHT OUTER JOIN
  • FULL OUTER JOIN
  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
  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
  1. Regular Expressions
  • Available Regular Expressions
  • Regular Expression Operators
  • Character Classes
  • Pattern matching options
  • REGEX_LIKE
  • REGEXP_SUBSTR
  • REGEXP_INSTR
  • REGEXP_REPLACE
  • REGEXP_COUNT
  1. Analytics
  • The WITH clause
  • Reporting aggregate functions
  • Analytical functions
  • User-Defined bucket histograms
  • The MODEL clause
  • PIVOT and UNPIVOT
  • Temporal validity
  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

Setup Made Simple! Learning Experience Platform (LXP)

All applicable course software, digital courseware files or course notes, labs, data sets and solutions, live coaching support channels and rich extended learning and post training resources are provided for you in our “easy access, no install required” online Learning Experience Platform (LXP), remote lab and content environment. Access periods vary by course. We’ll collaborate with you to ensure your team is set up and ready to go well in advance of the class. Please inquire about set up details and options for your specific course of interest.

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 Programming Basics (TTSQL002) 3 Days May 6 to May 8 10:00 AM to 06:00 PM EST $1,795.00 Enroll
Introduction to SQL Programming Basics (TTSQL002) 3 Days Jul 8 to Jul 10 10:00 AM to 06:00 PM EST $1,795.00 Enroll
Introduction to SQL Programming Basics (TTSQL002) 3 Days Sep 16 to Sep 18 10:00 AM to 06:00 PM EST $1,795.00 Enroll
Introduction to SQL Programming Basics (TTSQL002) 3 Days Nov 11 to Nov 13 10:00 AM to 06:00 PM EST $1,795.00 Enroll

Mix, Match & Master!
2FOR1: Two Courses, One Price!

Enroll in *any* two public courses (for 2023 *OR* 2024 dates!) by December 31, for one price!  Learn something new, or share the promo!

Click for Details & Additional Offers

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