
Master SQL from zero to hero by learning basics, create, read, update, delete operations, unions and joins, filtering, and a capstone project.
Explore what a database is, what a database management system does, and how SQL (structured query language) enables data manipulation as the standard language for relational databases.
Access an online, no-setup database editor to type, edit, debug, and execute SQL queries across SQLite, MariaDB, PostgreSQL, and more via SQLite online.com.
Explore the hands-on work environment by connecting to a PostgreSQL database in an online sql editor, running queries, and viewing results from a demo table with id, name, and hint.
Explore database management systems with a focus on relational databases and SQL. Learn how DBMS and RDBMS store data in tables, use CRUD operations, and compare NoSQL families.
Explore sql queries and syntax, noting case-insensitive keywords and the convention of uppercase keywords with lowercase identifiers. Learn that crud—create, read, update, delete—are the four basic operations for relational databases.
Master the select statement to retrieve data from a database, selecting single or multiple columns, or whole tables, and view results in a result set through practical examples.
Learn to use the select statement in SQL to retrieve data from an existing PostgreSQL database, including importing tables employees and players one and selecting all columns from players one.
Use the select statement to retrieve a single column from an existing table, such as player id from players one, and explore other columns like first name or rating.
Learn to select multiple columns from an existing table in PostgreSQL by listing player ID, first name, and other columns after select and separating with commas.
Learn how to return only distinct values from a table using the select distinct statement, its syntax with column and table names, and the importance of avoiding duplicates.
Learn to fetch only unique records with the select distinct statement and count distinct to tally unique values in the player id column, illustrated on a players table.
Discover how the sql where clause filters records by a condition to fetch matching rows. Use the where statement with select queries and practice with id is equal to one.
Learn how to filter records with the where clause in sql, using conditions to select all data or specific columns from the players table, such as player_id and first_name.
Learn how SQL logical operators and, or, and not help filter records with where or having clauses, using select syntax and conditions.
Explore filtering data with and, or, and not in PostgreSQL queries using the players01 table. Select three columns: player_id, first_name, and team, and learn how conditions influence result sets.
Learn how to use aliases in SQL to rename columns and tables for clearer query results; aliases are temporary and created with the as keyword in select and from statements.
Use as keyword to rename columns and create temporary headers in the result set, then concatenate first name and last name with double pipe to form a full name alias.
Harness the limit clause in SQL to fetch a specific number of records, boosting performance. Learn its syntax across MySQL, PostgreSQL, SQLite, and alternatives like top, fetch first, and Oracle.
Master the limit keyword to fetch only a subset of records instead of entire tables, boosting performance in PostgreSQL and MySQL; combine where to limit results by condition.
Master inserting new data into a table with the insert into statement in sql, covering syntaxes: with column names and values, and with all columns. End statements with a semicolon.
Insert new records into an existing table using insert into with values, listing column names in order and quoting strings. Validate results by selecting the table in PostgreSQL.
Execute insert into with values to add a complete row to a table without listing column names, ensuring values match the column order, then verify the insertion.
Learn to insert data into specified columns with insert into values, using player id, first name, and rating, while the rest of the columns remain null.
Master multi-record inserts in PostgreSQL by using insert into with values to add several rows to an existing table, specify column names, and read results with select.
Master updating data in SQL by using the update, set, and where keywords to modify one or many records with a conditional where clause.
Update existing records in a SQL table using the update, set, and where clauses, with practical examples showing changing first and last names for selected rows.
Learn how to delete data in SQL using delete from with a where clause to remove specific rows or all rows, and use truncate table to clear a table.
Learn how to delete rows with delete from and where in SQL, such as removing the record with player id 15 from the players table.
Learn how to annotate SQL code using comments to explain statements, insert hints, or prevent execution, with single-line comments using -- and multi-line comments using /* */.
Explore practical use of single line and multi-line comments in SQL to enhance readability, with examples showing double dash and /* ... */ syntax and how the database ignores them.
Explore SQL operators, including arithmetic, comparison, and logical types, and practical uses of any, between, exists, in, like, some, and is null in where clauses.
Explore sql arithmetic operators and apply addition, subtraction, multiplication, division, and modulo in select statements, using aliases to label results.
Master SQL comparison operators and use them in select statements and where clauses to compare values and filter data. Alias the result with as and observe true or false outcomes.
Master the between and in operators in SQL to filter data by range and by list, using examples with player_id and team values to retrieve specific records.
Learn how SQL data types classify values, govern operations, and define storage. Explore numeric, string, and date and time types, including integer, smallint, bigint, char, varchar, text, timestamp, and time.
Learn to define data types for each column and create tables with the create table statement in PostgreSQL, covering integers, strings, date and time types, and text; then insert records.
Learn how SQL constraints enforce data rules, prevent nulls, ensure uniqueness, and maintain referential integrity in create table statements with primary keys, foreign keys, checks, defaults, and indexes.
Explore how to add constraints to columns in SQL: not null, unique, primary key, foreign key, check, default, and create index, and how to define them after the data type.
Learn to create databases and tables in SQL by using create database and create table statements, specifying columns, data types, and constraints, and executing them to verify success.
Create tables with create table, define columns and data types, and apply constraints; insert into adds records. Fruits table demonstrates fruit id, not null, primary key, and if not exists.
Create a new table from an existing table using create table as select, filtering records with where to copy tiger team players from players one.
Learn how to drop databases and tables in SQL using drop database and drop table statements. Understand the syntax, uppercase keyword convention, and the risk of data loss.
Learn how to drop a table using the drop table statement to remove a table and all its data, and how delete from and truncate remove only data.
Learn how the alter table statement in SQL adds, drops, and modifies columns, renames tables, and manages constraints, with syntax and semicolon usage.
Master the alter table command with hands-on examples that add, drop, rename columns, modify data types, and rename tables, using practical sql workflows on a players table.
Learn how the order by clause sorts records in SQL, defaults to ascending, and uses the desc keyword for descending order, with syntax using select, from, and comma separated columns.
Master how to use order by in SQL to sort results in ascending or descending order, sorting players by first name and, if needed, by team in descending order.
Explore how union and union all combine query results in sql, including when to use each versus join, how duplicates are handled, and the required column counts and types.
Learn to combine two tables with union and union all, ensure same number of columns and compatible data types, and produce unique results or include duplicates as needed.
Explore SQL any and all operators that compare a column to multi-value subqueries. Any returns true if any value meets the condition; all returns true if all values.
Master the in operator with any to compare a column to a set of values and return matches by filtering players where player_id equals any (select employee_id from employees).
Learn the all operator in SQL, which compares a value to all values in another table and returns a boolean for matches; use it with select to list matched records.
Perform a hands-on exploration of the sql all operator, comparing two tables with subqueries to filter players by conditions like player id greater than seven.
Learn how the group by statement groups rows with identical values into summary rows and uses aggregate functions such as count, max, min, sum, and average.
Learn how to use the SQL group by statement to group records by team and generate summary results with aggregate functions like count, min, and max.
Discover how the having clause filters groups using aggregate functions in SQL, differs from where, and how to use it with group by and simple syntax.
Use the having clause to filter query results with or without aggregate functions, and learn how to apply group by and the count function to filter teams.
Explore wild cards in SQL by understanding how to substitute characters in strings with the like operator and where clause, using the percentage sign, underscore, square brackets, and exclamation mark.
Use the SQL like operator and wildcard characters to match patterns in first names from the players table, featuring starts with, contains, ends with, and second-position searches.
Learn how the SQL case expression evaluates conditions and returns values, using when, then, else, and end to apply conditional logic in queries.
Learn to use the SQL case statement with when and else to assign labels like excellent, very good, and good to player ratings, displaying results in a red nodes column.
Understand SQL functions as reusable blocks of code that accept parameters and return values or tables, and distinguish aggregate and scalar types.
Learn how SQL aggregate functions return a single value from multiple rows, often with group by and having clauses, using avg, count, min, max, and sum.
Explore scalar functions in SQL that operate on single rows to return one value, including upper and lower case conversions, mid text extraction, len, round, now, and format.
Explore practical sql functions with hands-on examples, including avg, count, max, min, and scalar operations like lower, upper, reverse, and length, with aliasing for clear results.
Explore how SQL joins combine records from two or more tables using related columns, and master the four types: inner, left, right, and full outer joins.
Master how inner join combines records from two tables using a shared column in sql. Learn the select, from, inner join, and on syntax to retrieve matching rows.
Master inner join in SQL by combining two tables on a common column, selecting matching rows, and using on and as aliases; explore left, right, and full outer joins.
Discover how the left join returns all records from the left table and matching ones from the right table, with no matches yielding zero right-side results, plus its syntax.
Master the left join in SQL by combining two tables on a common column, selecting matching and left table rows, using aliases, and optionally ordering results.
Use right join to return all records from the right table with matching records from the left table. Write from table1 right join table2 on table1.col equals table2.col.
Learn how to use the right join in SQL to combine two tables on a common column, returning matching rows and all right table rows, with practical examples.
Master sql full outer join to combine two tables and return all records, matched or not. Learn the syntax with from, on, where, and the equivalence to full join.
Explore full outer join hands-on by combining two tables on a common column to return matching rows and remaining records, using players and employees.
Master creating and managing SQL views as virtual tables, using create view and create or replace view with where filters, querying with select, and dropping views.
apply all the fundamentals of sql by creating an employees table with constraints, inserting ten records, updating, querying with where and having, and creating views and a new assistants table.
Learn essential SQL basics—create tables, insert data, query with select and where, create and manage views, and modify or drop views to organize the employees dataset.
Unleash Your Data Superpowers: SQL From Zero to Hero Bootcamp
Ready to crack the code of data and unlock your inner data whiz? Welcome to the SQL: From Zero to Hero – Unleash the Data Superpowers Within Bootcamp, your passport to mastering this essential skill and transforming your career trajectory.
Whether you're a tech newbie or a seasoned programmer, SQL is the key that unlocks the most valuable treasure of the 21st century – information. It's the language of databases, the magic wand that turns raw numbers into compelling stories, and the fuel that powers countless industries.
This comprehensive bootcamp is your launchpad to data mastery. We'll take you from absolute beginner to confident SQL warrior, equipped to develop, manipulate, and manage relational databases like a pro.
No need for prior coding experience! We'll break down the complexities of SQL into bite-sized, easy-to-understand chunks, ensuring you grasp each concept before moving on.
Here's what awaits you on this epic data quest:
Foundations Laid: Dive into the world of SQL, understanding its role in databases and the power it holds.
CRUD Your Way to Mastery: Master the art of Creating, Reading, Updating, and Deleting data – the essential dance of any database maestro.
Data Types Deciphered: Unravel the mystery of data types and operations, ensuring your queries speak the language of information.
Constraints & Rules: Build sturdy databases with constraints and rules, keeping your data organized and reliable.
Sorting & Filtering Magic: Learn to sift through mountains of data like a ninja, extracting the nuggets of gold you seek.
Unite the Tables: Combine and connect tables like an architect, weaving intricate webs of information to reveal hidden insights.
Multiple Table Mastery: Juggle multiple tables with ease, mastering joins and manipulations to unlock the full potential of your data.
Condition Champions: Set conditions and filter fields like a pro, carving your desired information from the raw data.
Build Your Data Kingdom: Construct your own databases and tables, crafting structures that house information like a well-oiled machine.
Views & Cloning Secrets: Learn to copy tables and create views, expanding your data manipulation toolkit.
Functional Programming Prowess: Level up your skills with advanced techniques like functional programming in SQL.
Professional Polish: Put it all together in a capstone project, applying your newfound powers to real-world scenarios.
Your guide on this data odyssey? Me, Ahmed, your friendly neighborhood Lead Software Engineer and Data Science Professional! I'll be with you every step of the way, demystifying complex concepts, keeping you motivated, and celebrating your victories.
This bootcamp is for you if:
You're a beginner eager to unlock the world of data and boost your career potential.
You're a developer seeking to expand your skillset and tackle data-driven projects.
You're a non-programmer curious about the language of information and its power.
You're an engineer dreaming of becoming a data-powered hero.
You simply want to speak the language of the future – the language of data!
Don't wait – embark on your data destiny today! Enroll now and let's unleash your inner data superhero together.
Remember, with this bootcamp, you'll:
Gain in-demand skills sought after by countless industries.
Boost your career prospects and open doors to exciting opportunities.
Unlock the power of data and gain insights that drive informed decisions.
Empower yourself with a valuable skill that shapes the future.
So, what are you waiting for? Enroll now and unlock your data superpowers!