Intermediate SQL: Data Reporting and Analysis
Offered By: LinkedIn Learning
Course Description
Overview
Take your data skills to the next level with SQL by learning how to write code for more complex queries to report, edit, insert, and delete data from your database.
Syllabus
Introduction
- Learn hands-on to extract, manipulate, edit, and delete real data
- Who this course is for
- What can you do with intermediate SQL?
- Get familiar with phpMyAdmin
- Understand the demo database
- The basic SELECT query
- Aggregated results with GROUP BY
- Wildcards and aliases
- Merging tables with JOIN
- Use string functions
- Use number functions with grouped data
- Use date functions
- Challenge: Report average cost by staff
- Solution: Report average cost by staff
- UPDATE fields in a table
- Common issues with the UPDATE command
- Automating your query creation
- Updating a field using JOIN
- Updating dynamically
- Challenge: Update the film table using JOIN
- Solution: Update the film table using JOIN
- INSERT rows into a table
- Common issues with the INSERT command
- Using MERGE instead of UPDATE/INSERT
- Duplicate table with SELECT
- Challenge: Insert a row into the film table
- Solution: Insert a row into the film table
- DELETE rows from a table
- DROP an entire table
- ALTER TABLE for modifying fields
- Problems with foreign key constraints
- Challenge: Delete from the country table
- Solution: Delete from the country table
- Next steps
Taught by
Emma Saunders
Related Courses
Social Network AnalysisUniversity of Michigan via Coursera Intro to Algorithms
Udacity Data Analysis
Johns Hopkins University via Coursera Computing for Data Analysis
Johns Hopkins University via Coursera Health in Numbers: Quantitative Methods in Clinical & Public Health Research
Harvard University via edX