- Description
- Curriculum
- Reviews
-
1Overview
Course Overview:
This comprehensive 6-month course is designed to take you from a beginner to an advanced level in SQL (Structured Query Language). SQL is a fundamental tool for managing and manipulating relational databases, and mastering it can open up numerous career opportunities in data analysis, database administration, and software development. Throughout this course, you will learn SQL syntax, database design principles, advanced querying techniques, and practical applications through hands-on projects.
-
2PRE- TEST:
-
7SELECT Statement
The SQL data manipulation language (DML) is used to query and modify database data. In this chapter, we will describe how to use the SELECT, INSERT, UPDATE, and DELETE SQL DML command statements, defined below.
SELECT – to query data in the database
INSERT – to insert data into a table
UPDATE – to update data in a table
DELETE – to delete data from a table
In the SQL DML statement:-
Each clause in a statement should begin on a new line.
-
The beginning of each clause should line up with the beginning of other clauses.
-
If a clause has several parts, they should appear on separate lines and be indented under the start of the clause to show the relationship.
-
Upper case letters are used to represent reserved words.
-
Lower case letters are used to represent user-defined words.
-
-
8INSERT statement
-
9UPDATE statement
-
10DELETE statement
-
11MODULE 2 QUIZ
-
12Filtering with the WHERE Clause
Terms You Need to Understand
-
The WHERE clause
-
The ORDER BY clause
-
Filtering
-
Sorting
-
Comparison condition
-
Logical condition
-
Top-N query
-
Ascending sort
-
Descending sort
Concepts You Need to Master
-
Filtered queries
-
Sorted queries
-
Precedence of logical conditions
-
What the available comparison conditions are
-
What the available logical conditions are
-
Comparison conditions compare expressions
-
Logical conditions allow for multiple comparisons
-
What equi, anti, and range comparison conditions are
-
The use of LIKE, IN, EXISTS, BETWEEN, ANY, SOME, and ALL comparison conditions
-
Logical condition precedence: (), NOT, AND, OR
-
NULL values and sorting
-
Sorting methods
This chapter covers filtering of rows using the WHERE clause and sorting of retrieved data using the ORDER BY clause. The WHERE clause applies to both queries and most DML commands; the ORDER BY clause applies to queries only.
-
-
13Comparison Conditions
-
14Logical Conditions
-
15Sorting with the ORDER BY Clause
-
16SQL Joins – LEFT Join, RIGHT Join, and INNER Join Explained
-
17How to Use an Inner Join in SQL
-
18INNER JOIN Use Case
-
19How to Use a Right Join in SQL
-
20How to Combine JOINS in SQL
-
21How to Use a Cross Join in SQL
-
22How to Use a Self Join in SQL
-
23Learn SQL: Join multiple tables
-
24Here are 10 quiz questions about SQL Joins – LEFT Join, RIGHT Join, and INNER Join:
-
25SQL Group By Tutorial: Count, Sum, Average, and Having Clauses Explained
-
26Setting up your database
-
27How does a GROUP BY work?
-
28Multiple groups
-
29Writing GROUP BY clauses
-
30Aggregations (COUNT, SUM, AVG)
-
31Working with multiple groups
-
32Using functions in the GROUP BY
-
33Filtering groups with HAVING
-
34Aggregates with implicit grouping
-
35FOR MORE DETAILS
-
3610 quiz questions with multiple choices:
-
37Understanding Correlated and Uncorrelated Subqueries in SQL
Author Bio:
Ben Richardson is the owner of Acuity Training, an IT training company based in the UK. Acuity is one of the UK’s leading SQL training companies. For more details click here.
Sub-queries are queries within another query. The result of the inner sub-query is fed to the outer query, which uses that to produce its outcome. If that outer query is itself the inner query to a further query then the query will continue until the final outer query completes.
There are two types of subqueries in SQL however, correlated sub-queries and uncorrelated subqueries. Let’s take a look at these.
-
385 SQL Subquery Examples
-
39Week 6 Quiz
-
5012 Normalization
Normalization should be part of the database design process. However, it is difficult to separate the normalization process from the (ER) modeling process so the two techniques should be used concurrently.
Use an entity relation diagram (ERD) to provide the big picture, or macro view, of an organization’s data requirements and operations. This is created through an iterative process that involves identifying relevant entities, their attributes and their relationships.
Normalization procedure focuses on characteristics of specific entities and represents the micro view of entities within the (ERD).
-
51First Normal Form (1NF)
-
52Second Normal Form (2NF)
-
53Third Normal Form (3NF)
-
54Boyce-Codd Normal Form (BCNF)
-
55Week 9 Quiz
-
63Chapter 9 Integrity Rules and Constraints
Constraints are a very important feature in a relational model. In fact, the relational model supports the well-defined theory of constraints on attributes or tables. Constraints are useful because they allow a designer to specify the semantics of data in the database. Constraints are the rules that force DBMSs to check that data satisfies the semantics.
-
64Referential integrity in Microsoft Access
-
65Foreign key rules
-
66Relationship Types
-
67Key Terms
-
68Week 11 Quiz