RelationalDBDesign
SiteMap
Advanced SQL
Essential SQL
Interview Questions
SQL Joins
«Prev
Next»
SQL Introduction
Course Prerequisites
SQL Fundamentals
What is SQL
Sample SQL Statement
SQL 92 (History)
SQL Dialect Variations
Database Selection
Database Setup
SQL Module Review
Relational Databases
Relational vs Flatfile
Different Storage Formats
Relational DB Analogy
Database Normalization
Data Table Example
Normalization Example Table
Table Normalization - Exercise
Three Normalization Levels
Relational Flatfile DB
SQL Columns Rows
SQL Foundations
Database Elements
Database Parts - Quiz
Table Structure SQL
Create Table
Table Index
Create Index Column
Database Index Engine
Database Foundations - Quiz
SQL Insert
SQL Select Statement
Querying XML
Tables Rows Database
Table Querying
SQL Conclusion
INTO Statement
Order By Clause
SQL Into Statement
Filtering Select
Where Clause
Like Statement
into Statement
Sorting Data
Order by Clause
Sort Select
Ascending Descending Order
Select Statement
More SQL
Filtering Select Statement
Joining Tables
Join Where Clause
SQL Joins Explained
Where Clause Join
inner-outer-joins
left-right-full-joins
left-right-joins
SQL Union Operator
SQL Join Conclusion
Advanced SQL Join - Exercise
Objective
Create an SQL statement that will create the join specified.
Given that you have two tables with the following columns:
Table1
CustomerID
Lastname
Firstname
Table2
OrderID
CustomerID
Qty
Orderdate
Create a SQL statement that will show all customers in the database and, for any customer with an order, the orders on file. When you are done, submit your SQL statement in the textbox below.