In this course you learn how to do SQL programming for managing databases such as MySQL, Oracle, and Microsoft SQL Server. This course is essential for all back-end and CMS developers as well as database admins and managers.


This self-paced SQL coding and database design course teaches you relational database fundamentals and SQL programming skills. Topics covered include relational database architecture, database design techniques, and simple and complex query skills.

This course is intended for analysts, developers, designers, administrators, and managers new to the SQL programming language. Upon completion, you 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.





Learning Objectives

You will learn the following:

  • 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





Topics and Subtopics

The following outline is covered in this course:


1- 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


2- Relational Database Fundamentals

  • Overview of Relational Database Concepts
  • Relational Databases and Relational Database Management Systems
  • Data Normalization
  • DDL Syntax


3- 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


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
  • AVG
  • COUNT
  • SUM
  • MIN
  • MAX
  • 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


7- Project 1- Database and Table Design


8- Project 2- Database Normalization


9- Project 3- Data Dumping and Querying


10- Homework Part 1- Session 1, 2 and 3

11- Homework Part 2- Session 4, 5 and 6





Requirements

Good knowledge of database logic, concepts and design.





Related Courses





Complete Training Bundle

If you are serious about becoming a pro system admin or cloud specialist, you should enroll in our System Admin- Complete Training Bundle. This bundle covers all essential and practical topics related to system administration. For $290 monthly subscription, you can have access to 300+ hours of hands-on project-based training covering all courses related to system administration like Linux, SQL, No-SQL, or Graph database development, bash scripting, Docker, Kubernetes and many more. Click here to learn more.



Private Tutoring Classes

To take skills you learn from this course to the next level, taking the following tutoring classes are highly recommended. It is also a great opportunity to discuss your questions and problems related to this course with an experienced instructor:



What Is Next?

After finishing this course, you can enroll in any of following classes:





Recommended Free Courses

If you are new to the IT or programming, we suggest the following free courses:


Select a pricing plan and sign up

$90

Paid Course

2 payments of $59/m

Paid Course

4 payments of $39/m

Paid Course