SQL Programming and Database Design
Workshop Code: hsts-w6
What Is Included in this Live Workshop
You will learn:
- Design normalized table structures for relational databases
- Create databases and tables
- Using primary and foreign keys
- Writing SQL queries
- Using inner and outer joins
- Using set operators (UNION, INTERSECT, EXCEPT)
- Using DML for SELECT, INSERT, UPDATE, DELETE
- Using subqueries
- Using triggers and stored procedures
- Using aggregate functions to return totals and subtotals
Workshop Description
This SQL programming and database design workshop teaches students relational database fundamentals and SQL programming skills. Topics covered include relational database architecture, database design techniques, and simple and complex query skills. This workshop is intended for analysts, developers, designers, administrators, and managers new to the SQL programming language. Upon completion, participants will understand SQL functions, join techniques, database objects and constraints, and will be able to write useful SELECT, INSERT, UPDATE and DELETE statements. Comprehensive hands on exercises are integrated throughout to reinforce learning and develop real competency.
Workshop Prerequisites
General computer knowledge. Familiarity with relational database concepts is helpful but not required.
Related Workshops
Automating Administration with Windows PowerShell
Installation, Storage, and Compute with Windows Server 2016
Microsoft SQL Server and Database Management
Microsoft Exchange Server system adminstration
jQuery Programming for Beginners
Responsive Site Design with Bootstrap
Introduction to Python Programming
Self-paced training
This course is available in a self-paced video format starting at $60. Click here to learn more and register. For complete self-paced system admin training, visit our System Admin- Complete Training Bundle page.
Overall Info About our Workshops
Highlights
-
6 hour hands-on training led by experienced instructors
-
Digital workshop contents
Enrollment Fee
Online live starts from $390
Workshop Session Dates
Our workshops are offered all year around. Upon registration we enroll you to the earliest available class but you can reschedule it free of charge.
Location
-
Online or in our DC office at 3165 Mt Pleasant St NW
Time
-
Saturdays 9AM-4:30PM (1 hour Lunch)
-
Weekdays 6:30PM-9:30 PM
Workshop Outline
Topics Covered in this Course.
1- Relational Database Fundamentals
- Overview of Relational Database Concepts
- Relational Databases and Relational Database Management Systems
- Data Normalization
- DDL Syntax
2- Writing Basic SQL Queries
- Displaying Table Structures
- Retrieving Column Data From a Table or View
- Selecting Unique Values
- Filtering Rows Using the WHERE Clause
- Sorting Results Using ORDER BY
- Joining Multiple Tables
- Using Column and Table Aliases
3- Creating a Database
- Database Development Methodology Overview
- Building a Logical Data Model
- Identifying Entities and Attributes
- Isolating Keys
- Relationships Between Entities
- Creating Entity-Relationship Diagrams
- Transforming to Physical Design
- Migrating Entities to Tables
- Selecting Primary Keys
- Defining Columns
- Enforcing Relationships with Foreign Keys
- Constructing the Database Using DDL
- Creating Tables, Indexes, Constraints and Views
- Dropping Tables, Indexes, Constraints and Views
- Modifying Tables, Indexes, Constraints and Views
4- Manipulating Query Results
- Using Row Functions
- Character
- Numeric
- Date and Time
- Data Conversion (CAST and CONVERT)
- Using the CASE Function
- Handling Null Values
5- Advanced Query Techniques
- Inner Joins
- Outer Joins (Left, Right, Full)
- Joining a Table to Itself
- Subqueries
- Tips for Developing Complex SQL Queries
- Using Aggregate Functions
- Aggregating Results Using GROUP BY
- Restricting Groups with the HAVING Clause
- Creating Temporary Tables
6- Manipulating Table Data Using SQL's Data Manipulation Language (DML)
- Inserting Data into Tables
- Updating Existing Data
- Deleting Records
- Truncating Tables
- Implementing Data Integrity with Transactions
- Beginning Explicit Transactions
- Committing Transactions
- Rolling Back Transactions
- Defining Save Points
The following topics may be included at the discretion of your instructor.
7- User-Defined Functions
- Definition and Benefits of Use
- CREATE FUNCTION
- Syntax
- RETURN Clause and the RETURNS Statement
- Scalar vs. Table Functions
- Comparison with Stored Procedures
- Returning Scalar Values and Tables
- ALTER and DROP FUNCTION
8- Stored Procedures
- Definition and Benefits of Use
- CREATE PROCEDURE
- Syntax
- Variables and Parameters
- Control of Program Flow
- ALTER and DROP PROCEDURE
- Implementation Differences
9- Triggers
- Definition and Benefits of Use
- Alternatives (e.g., Constraints)
- CREATE TRIGGER
- "Inserted" (or "NEW") and "Deleted" (or "OLD") Tables
- Event Handling and Trigger Execution
- ALTER and DROP TRIGGER
10- Working with Views
- Benefits of Using Views
- Creating Views
- ALTER and DROP VIEW