Introduces different kinds of table joins, and explains related terminology the student might come across
- [Instructor] Now we're going to look at inner joins,…outer joins, left, and right joins.…In the last video, we just used the keyword join…on its own.…In any version of SQL I know, join defaults to inner join.…And inner join is where records are shown…only if they exist in both tables.…It's like the inner part of a Venn Diagram.…Now I've created two small tables…that you won't have a Sakila database, tableA and tableB,…and I've done this to show how joins work.…
tableA contains days of the week with just five days…from Monday to Friday.…And you can see we've also got this extra field a_b_id,…which is effectively like a foreign key for the b table…as we will see, and that's got values one, two, three,…and seven.…Now if we take a look at tableB instead,…it's a simpler table.…It's just got ids from one to four…and against those ids we've got the names…say of members of staff.…
So let's say that on each day, one person is required…to work at the shop.…Now what we can do, as we know, to join these together…is to say, SELECT *…
Join Emma Saunders as she shows you how to design and write simple SQL queries for data reporting and analysis. Review the different types of SQL, and then learn how to filter, group, and sort data, using built-in SQL functions to format or calculate results. Learn a bit about data types and database design. Discover how to perform more complex queries, such as joining data together from different database tables. Last but not least, Emma shows how to save your queries as views, so you can run them again and again.
- Using different versions of SQL
- Retrieving data with SELECT statements
- Filtering and sorting your results
- Transforming results with built-in SQL functions
- Grouping SQL results
- Merging data from multiple tables
- Identifying data types, and how to make sense of your database design
- Saving SQL queries
Skill Level Intermediate
Data Visualization for Data Analystswith Bill Shander1h 31m Beginner
1. Use SQL to Report Data
Data types in SQL databases5m 47s
2. Group your SQL Results
3. Merge Data from Multiple Tables
4. Advanced Features and Taking Your Learning Forwards
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.