
Learn the fundamentals of structured query language (sql), the standard for creating, maintaining, and retrieving relational databases, with guidelines on case usage, keywords, and comments.
Relational databases store and retrieve data in linked tables using key columns. Learn the three SQL categories—DDL, DML, and DQL—with examples like create table, insert, and select.
Use the select statement to retrieve all data from a table, as demonstrated with the marks table containing student, course, and scores.
Learn how to retrieve specific columns from a table using the select statement, such as names of students or a student course from the marks table.
Explore using distinct to remove duplicates, retrieve a unique set of enrolled students, and obtain distinct student–course pairs when selecting multiple columns.
Learn to filter records using a single criteria with the where clause in SQL, selecting all columns from marks and applying score greater than 50.
Learn how to filter data in sql using the and operator to combine multiple conditions, such as score thresholds and course selections.
Use the SQL not operator to negate results and filter data. See how scores below 50 or less than or equal to 60 are handled, with and/or combinations.
Use the order by keyword to sort data by a column, such as score, in ascending order by default, or specify descending to arrange results from high to low.
Master the insert into syntax to add data into specified columns with values, including handling unknowns as blanks. Verify results by running a select query to view the inserted rows.
Distinguish null values from blanks and test for them using is null and is not null in SQL. Learn how to filter with course and score columns when values missing.
Master the delete statement to remove rows from a table using where conditions, including setting the course field to blank to delete blank records.
Replace blank exam scores with zero in the score column, update the appropriate rows, and verify changes by querying the marks table.
Learn how to retrieve the first rows of a table using the limit clause, with practical examples to fetch the first two or six records.
Learn how to fetch the top two records by score using order by score desc and limit, enabling conditional selection of the highest scores from the marks table.
Learn how to use aggregate statements with mean and max functions to obtain minimum and maximum scores from marks, replacing blanks with zero and aliasing columns.
Explore how the count and average functions measure rows that meet a criterion, including counting all rows versus counting distinct values, with examples using select statements.
count distinct records in a table column by contrasting total rows with unique students, using a distinct subquery with count(*) and the count(distinct student) method to reveal four unique students.
Learn how the avg() function in SQL computes the mean of a numeric column by using select avg(column) from a table to obtain the average.
Learn how the sum() function calculates the total of a numeric column using a marks example that yields 300 and see how the average becomes 50 from dividing by six.
Learn to compute a conditional average by filtering out zero scores, using a query like select average score from marks where score > 0, and see how the average changes.
Explore how the like operator filters data in a where clause by matching patterns with wildcards like % and _, including case-insensitive matching and examples of names starting with Ari.
Learn how to use the in operator in sql to filter by multiple values, replacing long or conditions with a single in clause for numeric and string columns.
Learn how the between operator selects values within a range and includes the endpoints, applicable to numbers, text, or dates in sql queries.
Renaming a column in SQL with AS by aliasing a selected column, such as student score, to a new name and viewing updated results.
Apply the group by statement to group rows by columns and use aggregate functions such as count, max, mean, sum, and average to compute total scores by each student.
Group by and average summarize total marks across exams into an overall performance average; see how exam counts affect averages and why higher totals may not equal the best performer.
Analyze how to use group by and where clauses, apply having for aggregate filtering, and compute averages after filtering scores not equal to zero.
Explore aggregation statements like count and average, and apply group by to summarize courses and exams enrollments with example scores and averages.
Learn how to filter grouped data using the SQL having clause, since where can't be used with group by; apply having to filter aggregates like average scores.
Create tables using a simple syntax by naming the table and defining data types. Add columns with integer and string types to illustrate a basic create table example.
Learn how to insert values into a table using insert into syntax, with an example inserting A into column B and 100 and 50 into other columns in test one.
Drop a table using the drop command, verify removal by attempting to select from the table, and observe the no such table error when the table no longer exists.
Learn how joins combine rows from two tables using a related key, and explore left, right, and full joins with student and course data.
Learn how inner join yields only matching records by joining student and student course tables on a shared key, using on clauses, aliases, and column selection to avoid ambiguity.
Learn how a left join returns all records from the left table and matching rows from the right table, with nulls where there is no match.
Explore full outer join behavior and its distinction from left join, showing how all records from both tables are returned, with duplicates and none where matches are missing.
Learn how the union operator combines result sets from multiple selects with matching column counts, data types, and order. Compare union and union all to see how duplicates are handled.
Create a view in sql, a virtual table built from the results of a select statement, with fields drawn from one or more real tables and queryable like a table.
Learn how to delete a view in sql, mirroring how to delete a table, with a simple example of naming the view and executing the deletion.
Reinforce the basics of execution with these indexes and support your queries and tasks in testing, development, and scripting, making them handy everywhere.
Do you want to learn a skill that can help you earn nearly $100,000 per year? If so, then this course is for you!
SQL (Structured Query Language) is the language we use to interact with databases that store data. This allows us to retrieve data with ease and simplicity. As terms like business intelligence and big data become more familiar, businesses will need more people to learn the SQL language.
This course will teach you how to use the SQL language.
You will have plenty of video lessons to teach you the majority of the content. Each section includes practice problems with proper explainations. On completion of the course you will be able to query and extract insights from any dataset.
LEARN SQL WITH MySQL
In order to make intelligent business decisions you need the proper data. In order to get the proper data you will need to communicate with and query data within a database. This is where SQL comes into play. SQL stands for Structured Query Language. It's the language used to communicate with a database and more importantly the data needed to make intelligent decisions that will save time and money.
WHY THIS COURSE
This SQL course starts with the absolute basic building blocks necessary to communicate effectively with any database. You'll learn how to query and manage a database using MySQL. MySQL is a free open-source relational database management system (RDBMS), used by many of the world's largest organizations.
Each section of the course will focus on a key topic of working with SQL. The video lectures have been created so you can follow along as the instructor demonstrates each concept. At the end of each section you can test your understanding through a section quiz and exercise. Once you complete a section the next section will build on the topics of the previous section. This encourages your learning as you build upon the knowledge you learn as you move from one section to the next.
This course is not just a sit back and watch the instructor type on the screen kind of course. The lectures and course flow has been designed to help you engage in the topic and participate by writing your own SQL. The TRUE LEARNING happens when you apply what you're learning and try it yourself.
The course also contains downloadable resources you can use away from the course as you continue to learn SQL. The QA board found within the course offers you the opportunity to ask questions and get answers from the instructor and interact with the other students enrolled in the course.
COURSE OBJECTIVES
In this SQL course you will learn the fundamental building blocks of creating, querying and working with databases using MySQL.
Learn Proper SQL Syntax Using the MySQL Workbench
Learn Relational Database Design Concepts
Use the SQL SELECT Statement in Order to Query Data from a Database
Use Column Alias to Give additional Context and Meaning to the Data
Learn How to Filtering Database Query Results Using the SQL Where Clause
Create Advanced Queries by Using the Proper Filter Operators
Use the SQL ORDER BY Keyword to Sort the Results of a Query
Learn How to Properly Group Data and Create Calculations for Reporting
Use the SQL HAVING Clause to Filter within Data Groups
Create a MySQL Database from Scratch
Learn How to Create Tables and Manage Records within the Tables
And Much More...