SQL 101: Introduction to Database Queries Premium class
- 1x (Normal)
What is SQL?6:27
Installing SQLite Manager and creating our database3:34
Creating tables and inserting data into tables6:01
Single Table Queries (Simple)9:24
Solutions: Single Table Queries (Simple)5:16
Single Table Queries (Advanced)9:52
Solutions: Single Table Queries (Advanced)7:08
About This Class
SQL is the database language that allows you to understand the data behind almost every website and internet company.
I've been at a tech company for a couple years and have learned one universal truth: data rules all. The most common request I get as a software engineer is to "pull some data" from our database. What I've realized is that about 95% of these requests involve a very basic query that could be performed by any one of my colleagues.
With the information in this class, you'll be better able to understand, access, and measure your user data and behavior. Whether you are an entrepreneur, analyst, or marketer, SQL can help you execute smarter and faster!
What You'll Learn
- SQL Fundamentals. We will talk about relational databases and what SQL can do with a relational database.
- Setting Up Our Environments. We will set up our environments so that we can run SQL commands together.
- Creating Data. You will create your own table and populate it with data.
- Single Table Queries. We will cover the basics that will allow you to pull any combination of information from a single table, including FROM, WHERE, GROUP BY, COUNT, SUM, HAVING, SELECT, and ORDER BY.
- Joins. We will cover Joins and how they are important for defining relational data between tables.
- Subqueries. You will convert Joins into equivalent subqueries.
- Deliverable. Your final project will be to create a database and query it in SQL.
- Guiding Questions. What kind of data will you create? How will you categorize this data? How will your data sets relate to each other? What is the correct way to retrieve data?
- Collaboration. Ask your fellow classmates for feedback on your data set. How could you create more precise data points? What retrieval methods work best for solving your queries from their perspective?
By the end of the course, you will have created your own query-searchable database using SQLite, and you'll be able to edit and query data on your own.
Let's get started!
Class Projects 3 See All
No projects have
been added yet
39 of 39 students recommendSee All
I loved the class, its very well explained... The only thing i would suggest is to explain WHY an WHEN to use things like e. or ser. or s. , i got all the right results but i am not sure what those words mean...
I had no MySQL knowledge prior to this class. There is always a learning curve, but Mark makes it easier to digest and practice.
I am a full-stack engineer for a tech startup in New York. While I develop for more than just the data layer of an application, I find that database knowledge is the most valuable for someone in a non-technical or analytics role. I have taught dozens of students and colleagues the basics of SQL to enable them to work more efficiently, and I'm excited to share this knowledge with a wider audience.