
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
With the world becoming more digitalised and connected, we’ve been generating much more data every day. Data is all around us. You may want to ask questions, such as
How does the internet store data?
How can we easily pull the data from a database?
How to get the data we want?
The bootcamp will guide you how to manage the data using SQL and answer these questions.
What’s data and what is database? Data can be any facts related to any objection in consideration. A database is simple an organised collection of data, from which a computer program can quickly select or manage desired pieces of data.
Database is a systematic collection of data. There are two types of databases: relational database and non-relational database. Different database is usually managed by different database management system.
SQL is a language for dealing with relational database.
There are some similarity between spreadsheets and SQL databases. We will talk about SQL and why we use it to interact with the databases.
This lecture talks about retrieving the data from a database using simple SELECT FROM statement.
In order to filter certain results from being returned, we need to use a WHERE clause with constraints in the query.
SQL supports a number of useful operators, such as LIKE, BETWEEN, IN to allow us to filter results.
SQL supports a number of useful operators to do things like case-insensitive string comparison and wildcard pattern matching.
This lecture will discuss how to use IN, BETWEEN, NOT IN, NOT BETWEEN constraints to filter results.
To help with this, SQL provides a way to sort your results by a given column in ascending or descending order using the ORDER BY clause. And ORDER BY clause are commonly used with the LIMIT and OFFSET clauses, which are a useful optimisation to indicate to the database the subset of the results you care about.
We can use DISTINCT to discard duplicate rows and get the unique values.
In the database management, there are four basic and essential operations: create, read, update, and delete.
The video talks about how to install MySQL server on MacOS step by step.
You can refer to the MySQL official guide on their website.
PopSQL is a modern SQL editor for teams. It lets you write queries, organize them in folders, visualize your data, and collaborate with your team. The video talks about how to install PoPSQL and connect PoPSQL with Mysql server.
When you have new entities and relationships to store in your database, you can create a new database table using the CREATE TABLE statement.
When inserting data into a database, we need to use an INSERT statement, which declares which table to write into, the columns of data that we are filling, and one or more rows of data to insert.
To update existing rows, use the UPDATE command.
When you need to delete data from a table, you can use delete statement.
We will also discuss the difference between DELETE and DROP tables.
We can use ALTER TABLE statement to add, remove, or modify columns and table constraints.
Build the database on W3Schools example
An aggregate function performs a calculation one or more values and returns a single value. The aggregate function is often used with the GROUP BY clause and HAVING clause of the SELECT statement.
String function is used to perform on input string and return an output string or numeric value.
Date functions are used to deal with different date types.
SQL also has more advanced functions, such as CASE WHEN, IFNULL, CAST, CURRENT_USER, etc.
4 types of JOINs: left join, right join, inner join, full outer join
Primary key and foreign key to build table relationships
UNION operator is used to combine two or more result-sets.
SET operators such as UNION, UNION ALL, EXCEPT, INTERCEPT.
Build a more complex query using SQL subqueries. A subquery can be referenced anywhere a normal table can be referenced.
Subqueries are not limited to use in WHERE clause. You can use it in FROM clause
INSERT statement can use the returned result from the subquery and insert into another table.
UPDATE statement can update either single or multiple columns in a table.
We look at a real world case study and see how SQL can help to answer business questions and drive business decisions.
We can the combination of GROUP BY, ORDER BY and LIMIT to get the top customers and use BETWEEN AND statement to filter results.
To understand which region has the highest growth rate, the team can adjust their sales and marketing campaign accordingly.
Rank the channels and get their percentage contribution to the total sales.
Identify the new customers or lost customers. It allows the team to engage customers differently, in a more targeted way.
We can track the team members' sales performance so that they can work on it.
We break down the business question into 5 questions we can answer using the data we have. It shows how SQL can help us with data wrangling and how we can identify ways to increase profit, analyse customer behaviours, track performance. And we can use the insights to drive the business decisions.
Test the basic understanding of SQL knowledge
A simple pattern matching and subquery question
Whether you work in sales or marketing, you run your own company, or you want to build your own apps, mastering MySQL is crucial to answering complex business problems and questions using insights from data. The Complete SQL Bootcamp for Beginner in 2024 introduces you to a solid foundation in databases in a way that’s both informative and engaging.
If you want to learn how to gain insights from data but are too intimidated by databases to know where to start, then this course is for you. This course is a gentle but comprehensive introduction to MySQL, one of the most highly in-demand skills in the business sector today.
1. Understand Relational Database Management System(RDBMS)
What is database? What is relational database management system?
How to interact with relational database?
What is SQL? Why SQL?
2. Apple SQL to query database to answer your daily data-related questions
SQL Basic queries, such as SELECT FROM with WHERE clause etc.
SQL operators to filter results with constraints, such as LIKE/IN/BETWEEN operators
SQL Aggregate functions and More complex subqueries
3. Manage relational database to organize data and automate processes
CRUD operations in database: create, read, update, delete rows
Alter tables in database
Build table relationship using different join types
Union result sets
4. A Real-world Case Study, to understand how SQL can do data analysis
How to break down business questions into technical data questions?
How to do data wrangling using SQL?
How we get insights and drive business decisions with SQL
5. Be Comfortable in SQL technical interviews
Mock interview questions on basic SQL knowledge
Mock interview questions with real examples and answers
After the course, you should be able to take full command of SQL.