
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Explore Udemy platform basics, adjust playback speed, add notes, and manage video settings and resolution; learn about using Q&A, contacting Udemy support, and accessing downloadable resources in each lecture.
Create a countries schema in MySQL with countries, regions, and subregions tables, linked by region_id and subregion_id. Run the Countries Data script in MySQL Workbench to populate the data.
Alias column names in sql query results using as or whitespace, with examples from the countries table to create readable aliases like country_name and capital_city, while data remains unchanged.
Alias table names and qualify columns with dot notation to avoid ambiguity. Learn the execution order and how aliasing affects queries, especially with multiple tables.
Explore MySQL date and time data types, learn the standard formats for date (YYYY-MM-DD), time (HH:MM:SS), and year, and see how MySQL converts nonstandard inputs to these formats.
Discover how to use the describe statement in MySQL to retrieve metadata about a table, including column names and data types, and understand schema qualification and differences across management systems.
Explore data definition language and data manipulation language in MySQL, defining structures with create, alter, drop, truncate, and manipulating data with insert, update, and delete through hands-on practice.
Learn how to use insert into to add records to MySQL tables, including schema and table creation, column ordering, quotes, date formats, nulls, and data types.
Truncate table deletes all records inside a table while preserving its structure, unlike drop table which removes the table entirely.
Explore how a check constraint restricts a column to values greater than ten using the check expression, with a demo table and inserts that reject five but accept twelve.
Master the MySQL syntax to drop unique and check constraints using alter table, drop constraint, and constraint names, with guidance from information_schema and show create table.
Demonstrate creating and enforcing primary and foreign keys in MySQL with practical table examples, constraint syntax, and insert validations using create, alter, and drop operations.
Compare syntax for constraints across MySQL, SQL Server, Postgres, and Oracle, including primary keys, foreign keys, unique, not null, check, and default. Subtle differences exist; consult official docs.
Explore logical operators in SQL, including and, or, between, in, and not, learn operator precedence and how to compose where clauses with salary ranges and job filters.
Compare syntax differences across database management systems. Focus on case sensitivity and null and empty strings handling, noting MySQL is case-insensitive while PostgreSQL is case-sensitive by default.
This course has been completely re-done
Want to learn one of the most in-demand skills in the business and technology sector? Then this course is perfect for you!
SQL is one of the most in demand programming languages in the world. It’s the language used to communicate with Relational Databases.
In addition to the extremely popular relational databases such as MySQL, Microsoft SQL Server and Oracle Databases more and more platforms new and old are supporting SQL including Amazon Redshift, Databricks, Snowflake, Google BigQuery and the list goes on and on…
According to IEEE Spectrum - SQL is the top programming language when it comes to its “Jobs” ranking.
This course has been designed for:
Individuals with no prior experience in SQL and looking to make that step to develop their skills in this highly sought after programming language
Those with some experience looking to brush up on their SQL knowledge
We will be using MySQL which is one of the most widely used relational databases in the world. The version we’ll be using is open source and completely free.
Although we will be using MySQL the course has been designed to highlight key differences between some of the main Database Management Systems such as Oracle, Postgre and Microsoft SQL Server, so what you learn in this course can be applied across all platforms supporting SQL.
The lectures in this course are arranged in a logical flow and delivered as short, bite-sized videos. The course is designed to be comprehensive, but also concise in order to make the learning experience as easy as possible. Every major section of the course will be rounded off coding challenges and dedicated assignment sections to give you an opportunity to develop your practical skills.