
Master practical SQL skills from setting up SQLite to querying, joining, and aggregating data, with hands-on exercises, indexes, and real-world applications in big data contexts.
Succeed in this course by using the Q&A to ask questions, meeting prerequisites, and engaging with handwritten notes for conceptual lectures and coding exercises.
Download the course data from GitHub, create a database, and run the import to populate the user_actions table, while generate_actions.py creates the CSV with name, product, action, price.
Master SQL create table syntax by defining a table name and column types (text, varchar, integer, real, blob, date time) in a comma-separated list, ending with a semicolon.
Drop a column in SQLite version 3.35.0 by using alter table drop column, demonstrated on a sample table with first name, last name, and email, then verify with schema.
Explore essential SQL functions for analytics, including count, distinct, sum, min, max, and avg, with practical examples like filtering for mango purchases and summing prices.
Analyze funnels to identify drop-offs and improve conversion, compute year-over-year revenue by month using a time-formatting function, and rank sales by location with joins across actions and users tables.
How to install Spark locally, how to load data into Spark for making SQL queries, and some boilerplate code for writing any SQL query on a Spark table.
Learn to load an extra dataset in tab-separated values, switch the mode to tabs, create tables for ordered_items and customers, import data, handle headers, and clean erroneous rows.
Leverage the IN keyword to replace long OR chains with a single array of values in parentheses, and use NOT IN for exclusions in SQL.
practice interview-style sql using the ordered items and customers tables with inner joins and group by to identify distinct items in oregon and the most popular item in colorado.
Ask questions in the Q&A to clarify gaps and stay on track. Meet the prerequisites and implement everything from theory to code to succeed in this state-of-the-art SQL bootcamp.
It is becoming ever more important that companies make data-driven decisions.
With big data and data science on the rise, we have more data than we know what to do with.
One of the basic languages of data analytics is SQL, which is used for many popular databases including MySQL, Postgres, SQLite, Microsoft SQL Server, Oracle, and even big data solutions like Hive and Cassandra.
I’m going to let you in on a little secret. Most high-level marketers and product managers at big tech companies know how to manipulate data to gain important insights. No longer do you have to wait around the entire day for some software engineer to answer your questions - now you can find the answers directly, by yourself, using SQL!
In this course, The Complete SQL Bootcamp for Data Science, Analytics, and Marketing, we'll start from the basics - installing SQL onto your Mac, Linux, or Windows machine and explaining what a relational database is. Next, we'll look at basic tasks like creating tables and loading data into those tables. We will look at a wide variety of SQL commands and I will show you how to speed things up using indexes.
Once you know all the SQL commands we will start doing advanced examples - answering questions marketers and business people often have, like where are customers dropping off in our sales funnel? And which of our locations has the highest revenue?
In the last section, we'll do Advanced SQL queries on Spark, the big data framework that is the successor to MapReduce and also runs on top of Hadoop. I will teach you how to install Spark, create a cluster very quickly on Amazon EC2, and run SQL queries, allowing you to apply everything you learned up until this point in a big data environment.
Do you want to know how to optimize your sales funnel using SQL, look at the seasonal trends in your industry, and run a SQL query on Hadoop? Then join me now in my new class on SQL! Dominate data analytics, data science, and big data!
TIPS (for getting through the course):
Watch it at 2x to learn twice as fast!
Take handwritten notes. This will drastically increase your ability to retain the information.
Ask lots of questions on the discussion board. The more the better!
Write code yourself, don't just sit there and look at my code.