Log In
Join
for free
Back To Module Home
Learn SQL
0% completed
Introduction to SQL
Embark on an SQL Adventure!
Unveiling SQL
SQL SELECT
Selecting Display Fields and Specifying the Data Source
Fetching Unique Results
SQL Queries: SELECT, WHERE, AND, OR, NOT, and Strings
Specifying the Filter Criteria
Working with the String Data Type
Logical Operators and Compound Conditions
SQL ORDER BY, Aggregate functions, and GROUP BY
Sorting Data
Data Aggregation and Grouping
Putting It All Together
SQL CREATE, DESCRIBE, INSERT INTO, UPDATE and DELETE Tables
Creating Tables
Adding New Data to the Database
Modifying Data
SQL Alter Table and Aliases
Navigating Change
Changing the Structure of a Table
Adding New Fields in a Table
Performing Calculations and Aliasing
Managing Computed Attributes
Data Redundancy
Data Redundancy
Dealing with Redundancy
Some Pitfalls
Foreign Keys and Database Relationships
SQL Joins and Subqueries
Merging Data from Multiple Tables
The JOIN Clause
Using JOIN to Retrieve Information from More than Two Tables
Using JOIN to Generate Our Reports
Subqueries
Wrap Up
Final Remarks
Learn how a foreign key connects tables for coherence.
We'll cover the following
Understanding foreign keys in database
Add a foreign key to the table
Foreign key using CREATE TABLE
Foreign key using ALTER TABLE
Understanding foreign keys in database