Introduction to SQL
Learn how to create and query relational databases using SQL in just two hours.Start Course for Free
2 Hours7 Videos24 Exercises206,566 Learners1650 XPData Analyst in SQL TrackData Engineer TrackSQL Fundamentals Track
Create Your Free Account
Loved by learners at thousands of companies
Get an Introduction to SQL in Two HoursMuch of the world's raw data—from electronic medical records to customer transaction histories—lives in organized collections of tables called relational databases. Being able to wrangle and extract data from these databases using SQL is an essential skill within the data industry and in increasing demand.
In just two hours, you'll get to know the theory and the practice through bite-sized videos and interactive exercises where you can put your new-found skills to the test.
Learn how Relational Databases are OrganizedSQL is an essential language for building and maintaining relational databases, which opens the door to a range of careers in the data industry and beyond. You’ll start this course by covering data organization, tables, and best practices for database construction.
Write Your First SQL QueriesThe second half of this course looks at creating SQL queries for selecting data that you need from your database. You’ll have the chance to practice your querying skills before moving on to customizing and saving your results.
Understand the Difference Between PostgreSQL and SQL ServerPostgreSQL and SQL Server are two of the most popular SQL flavors. You’ll finish off this course by looking at the differences, benefits, and applications of each. By the end of the course, you’ll have some hands-on experience in learning SQL and the grounding to start applying it to projects or continue your learning in a more specialized direction.
Before writing any SQL queries, it’s important to understand the underlying data. In this chapter, we’ll discover the role of SQL in creating and querying relational databases. Using a database for a local library, we will explore database and table organization, data types and storage, and best practices for database construction.
Learn your first SQL keywords for selecting relevant data from database tables! After practicing querying skills in a database of books, you’ll customize query results using aliasing and save them as views so they can be shared. Finally, you’ll explore the differences between SQL flavors and databases such as PostgreSQL and SQL Server.
In the following tracksData Analyst in SQLData EngineerSQL Fundamentals
Curriculum Manager, DataCamp
Izzy is a Curriculum Manager at DataCamp. She discovered a love for data during her seven years as an accounting professor at the University of Washington. She holds a masters degree in taxation and is a Certified Public Accountant. Her passion is making learning technical topics fun for students.
Don’t just take our word for it
*4.7from 867 reviews
- Mohammad J.about 17 hours
I enjoyed the the introduction, but I’m going to repeat it because I felt like it wasn’t for me as a beginner. I liked it and I will definitely recommend it. Learning and repeating are endless. Thanks Datacamp and I will keep camping on my new path of adventure.
- Ibrahim K.2 days
- Olamide O.2 days
It was a great experience and lesson on SQL
- Pauline I.2 days
The above topic opened my thought to how data is retrieved and stored in a database. The significance of knowing the concept of SQL especially the difference between the two types of SQL.
- Juan G.3 days
"I enjoyed the the introduction, but I’m going to repeat it because I felt like it wasn’t for me as a beginner. I liked it and I will definitely recommend it. Learning and repeating are endless. Thanks Datacamp and I will keep camping on my new path of adventure."
"It was a great experience and lesson on SQL"
Join over 11 million learners and start Introduction to SQL today!
Create Your Free Account