Loved by learners at thousands of companies
SQL is the most popular language for turning raw data stored in a database into actionable insights. Using a database of films made around the world, this course covers:
✓ How to filter and compare data
✓ How to use aggregate functions to summarize data
✓ How to sort and group your data
✓ How to present your data cleanly using tools such as rounding and aliasing
Accompanied at every step with hands-on practice queries, this course teaches you everything you need to know to analyze data using your own SQL code today!
In this first chapter, you’ll learn how to query a films database and select the data needed to answer questions about the movies and actors. You'll also understand how SQL code is executed and formatted.
Learn about how you can filter numerical and textual data with SQL. Filtering is an important use for this language. You’ll learn how to use new keywords and operators to help you narrow down your query to get results that meet your desired criteria and gain a better understanding of NULL values and how to handle them.Filtering numbers50 xpFiltering results50 xpUsing WHERE with numbers100 xpUsing WHERE with text100 xpMultiple criteria50 xpUsing AND100 xpUsing OR100 xpUsing BETWEEN100 xpFiltering text50 xpLIKE and NOT LIKE100 xpWHERE IN100 xpCombining filtering and selecting100 xpNULL values50 xpWhat does NULL mean?50 xpPractice with NULLs100 xp
SQL allows you to zoom in and out to better understand an entire dataset, its subsets, and its individual records. You'll learn to summarize data using aggregate functions and perform basic arithmetic calculations inside queries to gain insights into what makes a successful film.Summarizing data50 xpAggregate functions and data types100 xpPractice with aggregate functions100 xpSummarizing subsets50 xpCombining aggregate functions with WHERE100 xpUsing ROUND()100 xpROUND() with a negative parameter100 xpAliasing and arithmetic50 xpUsing arithmetic50 xpAliasing with functions100 xpRounding results100 xp
Sorting and Grouping
This final chapter teaches you how to sort and group data. These skills will take your analyses to a new level by helping you uncover critical business insights and identify trends and performance. You'll get hands-on experience to determine which films performed the best and how movie durations and budgets changed over time.Sorting results50 xpSorting text50 xpSorting single fields100 xpSorting multiple fields100 xpGrouping data50 xpGROUP BY single fields100 xpGROUP BY multiple fields100 xpAnswering business questions50 xpFiltering grouped data50 xpFilter with HAVING100 xpHAVING and sorting100 xpAll together now100 xpCongratulations!50 xp
Data Science Content Developer, DataCamp
Jasmin is a Content Developer at DataCamp. After ten years as a global marketing manager in the music industry, she recently changed careers to follow her curiosity for data. Her passion is value exchange and making data science accessible to all.