
Discover why databases beat spreadsheets and learn to design, create, and query a database from scratch using real examples and transferable MySQL skills.
Learn how to get started with MySQL by installing a local MySQL server and using MySQL Workbench to connect, creating a private sandbox for hands-on practice.
Install MySQL on Windows by downloading the official installer and selecting a custom server and workbench setup. Create a pet foods database with schemas and connect to a local instance.
Install MySQL community server and MySQL Workbench on Mac by downloading the dmg from the official site and selecting the Mac OS version; create a pet foods schema.
Install MySQL server on Ubuntu and configure secure access through the terminal, setting the root password, removing anonymous users, and preparing MySQL Workbench for local connections.
Set up MySQL Workbench and connect to the local instance. Import the Pet Foods reference and build the Pet Foods database with practice queries.
Discover how the workbench lightning bolt runs the entire command or only the selected text in MySQL, and learn to disable safe updates in preferences.
Build and populate the animals table in a pet foods database using Workbench, choose appropriate data types like varchar, and perform the four CRUD operations (create, read, update, delete).
Learn how a primary key uniquely identifies each row in a table, using an auto increment id to distinguish animals with the same name and enable reliable data relationships.
Add new columns to the animals table, such as weight, birth date, join date, and email, and choose data types like smallint, unsigned, and date for efficient storage.
Create a products table with an auto increment id, a name field, and a price USD as decimal(10,2), insert sample items, and note decimal formatting for future multi-table relations.
Learn how to relate one table to another by creating an orders table linked to animal users, and use join queries to display order dates with user names and emails.
Build order line tracking by creating an order_lines table with order_id, product_id, and quantity, relate it to orders, and use joins to show subtotals for human readable summaries.
Explore MySQL for beginners by building an order details view with joins between orders, order lines, and products, selecting product name, price, quantity, and subtotal, plus aggregates and nested queries.
Discover what an index is in MySQL and how it speeds lookups, using explain and the species index on the animals table as an illustration.
Learn how foreign keys define and enforce relationships between tables in MySQL, explore options like cascade, set null, or restrict, and see how indexing improves join performance.
Design a mysql reviews table with a primary key that auto increments and foreign keys for product and author, enabling search on description with like and a full text index.
Master MySQL aggregate functions, including avg, min, max, and count, and learn to group by and having for cross-species insights in the pet foods reference database.
Explain how inner, left, and right joins work, showing why left joins include animals with zero orders, and introduce full outer joins as rarely needed in MySQL.
Master how to simulate a full outer join in MySQL by using left and right joins, then combine results with union to include all animals and all products.
Practice and apply MySQL concepts by building five queries that find the highest average rated products and the most ordered products among dogs, using joins, group by, count, and limit.
Apply MySQL practices to fetch user emails who ordered oranges, remove duplicates with distinct, and compute totals using sum, group by, and order by.
Explore stored routines in MySQL by creating stored functions and stored procedures, learning to define parameters, return values, and reuse logic with examples like weight logic and discount logic.
Identify what a stored procedure is and how it differs from a stored function. Pass in parameters, including JSON, and perform insert, update, or delete operations.
Prepare to build the database for a social media app by installing two essential tools: Visual Studio Code and Node.js. Then learn to write MySQL queries in this course module.
Create a brand new empty database by using create schema in MySQL Workbench, then add a dedicated user with restricted privileges to that schema and test the connection.
Connect the empty MySQL database to a simple social networking web app, wire up the model layer, and prepare sequel queries for posts and following users while running locally.
Create the posts table for a social network, with an auto-incrementing id, title, body, author foreign key, and created date, then explore prepared statements to prevent SQL injection.
Learn to read, update, and delete posts by building and testing prepared SQL queries in a social network app, including joins with users and selective column selection for profiles.
Set up a full-text search on the posts table with a compound index on title and body, use match against and prepared statements to search posts by keyword or phrase.
Create a follows table to model user relationships, using a composite primary key on followed_id and author_id, with foreign keys to the users table for integrity.
Write and validate follow-related queries in a MySQL app, including username checks, follow insertion and deletion, and listing followers and following with counts.
Practice building the home page feed by retrieving posts from followed users using SQL joins, in clauses, and subqueries. Make the query dynamic and order results by created date descending.
Learn to automate the table skeleton creation with SQL scripts, using create table if not exists to rebuild posts and related tables on startup for portable, rapid database setup.
Prioritize understanding database concepts over memorizing syntax, and see how MySQL skills stay portable across workbench, command line, and phpMyAdmin for real-world tasks.
Understanding how databases work is a huge advantage for just about every career path. Whether you're interested in marketing, account management, research, programming or countless other fields; being able to leverage a database is incredibly powerful. In this course we will:
Learn why it's worth your time and effort to learn about databases
Install MySQL on your personal computer
Understand how to design and structure a database for your project's needs
Practice querying for the exact information you need
Use aggregate functions to perform useful actions on large sets of data
Relate different parts of the database together in powerful ways
Write SQL queries for two course projects together; step by step
Gain confidence that our new database skills are in demand and incredibly transferrable
This course may be brand new, but this isn’t my first time teaching. I’ve led training sessions for Fortune 500 companies and I’ve already helped over 170,000 people on Udemy and received the following feedback:
"Brad definitely has some of the best techniques to embed the lesson into your mind… hands down these are the best tutorials I have had the opportunity to view."
"Presentation is concise without being tedious… you honestly feel that you have a thorough understanding of the subject."
"…[Brad] explained the process. Not memorize this or that, he explained the process. If you're looking to take a course to understand the foundations of creating websites, look no further."
Become highly valuable and relevant to employers that have data driven needs; in one convenient place alongside one instructor. If you're ready to begin understanding databases - I'll see you on the inside!