
Learn how to connect to MySQL via the command prompt, disconnect, and run basic queries to create and use a database, with semicolon termination and case-insensitive syntax.
Explore building and managing a MySQL database, using multi-line queries terminated by semicolons, and creating a pets table with name, owner, species, birth, and death fields.
Learn to verify and inspect MySQL tables with show tables and describe, delete tables with drop table, and load data using insert statements or a tab-separated text file.
Learn to use the sql select statement to pull data from a table, filter results with where conditions, and select specific columns or all columns.
Sort results with order by birth, ascending or descending; test missing values with is null and is not null; perform pattern matching using like, % and _.
Master MySQL's extended regular expressions, using reg_exp or r-like syntax, with dot, character classes, ranges, asterisk, anchors ^ and $, and count(*) for totals.
SQL provides a structured query language for querying and updating databases, covering data retrieval with the select statement, including rows, columns, boolean operators, and pattern matching, through practical MySQL demos.
Practice connecting to MySQL from the command prompt, viewing databases, and creating a database and table. Then learn to insert records and load data from a text file.
Learn to load data from a text file into a MySQL table using load data local in file, save records with notepad, and verify with a select on student_details.
Master MySQL by creating databases and tables, inserting data, and applying constraints with primary and foreign keys, then practicing select, insert, update, and delete operations.
Learn to create a mysql database, switch to it, and create countries and jobs tables with not null constraints and a max salary check, using if not exists.
Create and modify MySQL tables with constraints, including countries with check and primary key constraints, jobs with defaults, and a job_history table with end-date format checks.
Create and modify tables in MySQL, enforcing a composite primary key on country_id and region_id, and add foreign keys linking job_history to jobs and employees to departments.
Create and relate departments, jobs, and employees tables in MySQL, using primary keys and foreign keys with on delete cascade, on update restrict, and on delete set null.
The lecture demonstrates inserting data into countries and jobs, creating and dropping tables, inserting single and multiple rows, handling nulls, duplicating a table, and enforcing unique job_id.
Demonstrates mysql insert operations with primary key and unique constraints, composite keys, auto_increment and default values across jobs, countries, and job_history tables, preventing duplicates and enforcing referential integrity.
Create the job_history table and related employees and departments tables in MySQL, defining foreign keys to jobs, a composite primary key for departments, and insert valid records while enforcing constraints.
Create and relate departments, jobs, and employees tables with primary and foreign keys, insert sample records, and update the email column to not available for all employees.
Drop and recreate the employees table with primary key employee_id and foreign keys to departments and jobs. Update all null emails to not available and set commission_pct to 0.10.
Create a MySQL theme park database, define tables for theme park, employee, ticket, attraction, hours, and sales, and establish primary keys, foreign keys on park code, and indexes.
Explore advanced MySQL concepts with practical table creation, constraints, indexing, data manipulation, and querying techniques across sales and theme park databases.
Insert records into the attraction and employee tables, and switch to the theme park database. Verify results with select queries and review records inserted in both tables.
Practice inserting data across MySQL tables by building and executing insert into statements for ticket, hours, sales, and sales_line, then check the results with select queries.
Master MySQL select and update statements to view specific columns, modify records, calculate price increases with rounding, and apply where clauses and column aliases.
Learn to write SQL queries using between, in, like, and null and is null checks across ticket, hours, sales_line, and employee tables, including and/or/not conditions and date comparisons.
Master MySQL project teaches writing and executing SQL queries to filter attractions by age, capacity, and name, use and/or/not operators, and sort results by multiple fields.
Explore distinct values and aggregate functions in MySQL, using count, min, max, average and sum, with group by and having clauses across parks, attractions, tickets, and hours.
Explore advanced MySQL queries, including group by with having, natural joins, joins with aliases, and left and right outer joins across theme park, ticket, and attraction tables.
Start a MySQL project by creating a sample database with tables like countries, regions, departments, employees, jobs, and job history, then insert dummy data and selects, joins, subqueries, and functions.
Explore creating and populating a relational database with MySQL: define departments and employees tables, enforce keys (primary, unique, and composite), and insert extensive historical data via a job_history table.
Create and populate the jobs table with 19 rows of roles and salary ranges, and add ten records to the job_history, including president, vice president, and programmer.
Create a locations table in MySQL with location_id as primary key and columns for street_address, postal_code, city, state_province, and country_id; define keys on city, country_id, and state_province and insert rows.
Create the regions table, define region_id and region_name, insert four rows (Europe, America, Asia, Middle East and Africa), and prepare for next queries on the database.
Master MySQL query techniques: display first and last names with aliases, fetch distinct department IDs, order by name or salary, and compute 15% of salary as bf.
Master MySQL queries on the employees table with distinct counts, upper, substring, concat, and trim, plus arithmetic and rounding monthly salaries.
Develop practical sql queries on employees, including select first name, last name, and salary with not between 10000 and 15000, department id in (30, 100), and hires in 1987.
Master MySQL demonstrates queries on the employees table, including distinct job IDs, a 20 percent salary bonus, and min, max, and average salaries with counts of employees.
Master MySQL teaches writing salary queries, including max and min salary differences, department totals, and average and maximum salaries by job and department using group by, where, and having.
Master sub queries in sql by retrieving employees’ first name, last name, and salary, comparing salaries to bull’s salary, and filtering by IT and usa-based departments, managers, and salary benchmarks.
Master MySQL teaches writing subqueries to compare employee salaries against minimum and average values, filter by department and job, and order results for insights.
Master aggregate function techniques in MySQL by using a join of the same table and not exist to identify non-supervisory employees, display department names, and compare salaries to department averages.
Explore aggregate queries in MySQL, including fifth maximum salary, fourth minimum salary, three maximum and minimum salaries, last ten records, and departments with no employees via subqueries.
Master sql joins with practical queries: nth max salaries, natural joins of locations and countries, and multi-table joins among employees, departments, and locations, including a self-join to show managers.
practice writing sql queries with self joins, inner joins, group by, and date calculations to analyze employees, departments, managers, locations, jobs, and salaries.
Display job history for employees earning over 10,000 by joining job_history with employees, and compute manager experience using date differences, plus first/last day of months from hire date.
Learn to use mysql date functions to format the current date, get the last day of the current year, calculate ages, extract years, and filter records with between.
Explore MySQL date functions like date_format, group by and having clauses, as well as group_concat and joins to format dates, analyze hires by month/year, and list employee and manager data.
Use the update command to replace 1-4 in phone numbers with 999 and to append emails. Practice queries for the length of the first name and salary formatting with lpad.
Advance MySQL skills by writing select queries to compute minimum street length, extract multi-word job titles with substr and instr, format salaries with lpad, and filter hires by date patterns.
Explore a music database in MySQL, inspect tables and columns, then write basic select queries from artist, album, and track using where, like, and comparison operators.
Craft SQL queries for a music database, using like, comparisons, and logical operators to filter albums by name and id, and sort artists and tracks with order by clauses.
Explore inner joins across artist, album, and track to fetch names via artist_id and album_id, then insert into artist, album, track, and played with sums and max IDs.
Learn practical SQL data manipulation on a music database by performing inserts, deletes, updates, and truncates, with examples using where, order by, limit, defaults, and current date and time.
Learn to use column aliases with concat, join artist and album tables, and order results by the alias, and note that aliases cannot be used in where or on clauses.
Explore how to use distinct and group by to count albums and tracks across artists, albums, and tracks with inner joins, including having and where clauses for filtering.
Analyze using a where clause with group by, inner joins of artist and album, and the union operator; practice fetching first and last five tracks with order and limit.
Explore MySQL joins with inner join, unions, and ordering to retrieve, deduplicate, and sort track data across multiple tables using limit and subqueries.
Learn SQL query strategies in MySQL, including left and inner joins, group by, and order by played, to analyze tracks and albums and identify unplayed records.
Master MySQL aggregate functions and join techniques, including inner, right, and natural joins, where clauses, and subqueries, using artist, album, track, and played examples.
Master MySQL guides learners through inner join usage, subqueries, and alias-based joins with exist and not exist checks. Explore practical queries on engineers, producers, artists, and albums, including self-titled albums.
Master correlated subqueries in MySQL with practical examples on artists, albums, producers, and engineers; learn exists versus in, group by having, and using aliases and joins correctly.
Learn to implement MySQL transactions to guarantee atomicity when adding related records, using start transaction, insert operations, and commit or rollback.
Create and populate MySQL tables, run insert-selects with random ordering, manage duplicates with ignore, duplicate primary keys safely, and import CSV data using load data infile.
Learn practical MySQL data handling: load and export CSV data, copy table structures, perform inner joins, and run nested queries to find unplayed tracks and clean up with deletes.
Export data by learning to delete from artist, album, and track across related tables, use inner and left joins, perform updates, replace values, and explain queries in MySQL with examples.
MySQL is a widely-used relational database management system (RDBMS) that powers millions of applications worldwide. This course is a comprehensive journey through MySQL, starting from the basics and gradually advancing to complex queries, real-world projects, and database operations. With hands-on practical demonstrations and project-based learning, you'll gain the skills required to design, manage, and optimize databases efficiently.
Section 1: Introduction to MySQL
This foundational section introduces MySQL, starting with connecting to the database and navigating its interface. You'll learn to create commands, use databases, and manipulate tables by showing, describing, and deleting them. As you progress, you'll dive into selecting rows and columns, sorting data, pattern matching, and leveraging regular expressions. The section concludes with practical demonstrations and examples, reinforcing the core concepts with real-world scenarios.
Section 2: Real-World Project 1 - Comprehensive Database Development
In this section, you'll embark on your first large-scale MySQL project. Through 18 detailed lectures, you'll design and implement a robust database system, tackling challenges such as data structuring, advanced queries, and optimized table management. Each lecture builds on the previous one, helping you gain hands-on experience in solving complex database problems. By the end of this section, you'll have created a fully functional and efficient database application.
Section 3: Real-World Project 2 - HR Database Development and Analysis
This section focuses on creating and analyzing a complete HR database. You'll design tables for employees, jobs, locations, and regions, followed by writing complex queries to extract valuable insights. Topics like subqueries, aggregate functions, joins, date and string functions, and advanced SQL commands are covered in depth. Practical examples include using a music database for joins and updates, grouping data effectively, and working with transactions. You'll also learn to import/export data and perform operations like correlated subqueries and data explanation for optimized performance.
Conclusion
This course provides a deep dive into MySQL, blending theoretical knowledge with practical implementation. By the end, you’ll have built two real-world databases and acquired advanced skills for database management, query optimization, and problem-solving. This course equips you to tackle any MySQL-related challenges in personal or professional projects.