SQL & Databases for Beginners
Understand databases and write SQL: SELECT, filtering, sorting, functions, grouping, joins, inserting and updating data, design, indexes and security.
- 18 lessons
- 1 hr 55 min total
- Audio for every lesson
- 20 assessment questions
- 0 enrolled
What you will learn
- Explain databases, tables, rows, columns and keys
- Write SELECT queries with WHERE, ORDER BY and LIMIT
- Use text, number, date and NULL handling functions
- Summarise data with COUNT, SUM, AVG, GROUP BY and HAVING
- Combine tables with INNER and LEFT joins and subqueries
- Insert, update and delete data safely
- Create tables, design relationships and use indexes
- Use transactions, views and permissions and prevent SQL injection
Course content
6 modules · 18 lessons · 1 hr 55 min · final assessment
1Database foundations3 lessons · 17 min
- What is a database? 5 min
- Tables, keys and relationships 6 min
- Your first SELECT queries 6 min
2Filtering and sorting3 lessons · 20 min
3Summarising and combining data3 lessons · 20 min
- Aggregates, GROUP BY and HAVING 7 min
- Joining tables 7 min
- Subqueries and combining results 6 min
4Changing data safely3 lessons · 20 min
5Design and performance3 lessons · 20 min
6Using SQL in the real world3 lessons · 18 min
- SQL for reports and analysis 6 min
- NoSQL, cloud databases and careers 6 min
- Final review 6 min
About this course
Almost every website, app and business system stores its data in a database, and SQL is the language used to work with it. This practical course takes you from zero to confident everyday SQL: what databases and tables are, primary and foreign keys, SELECT queries, filtering with WHERE, sorting and limiting, text, number and date functions, aggregate functions with GROUP BY and HAVING, joining tables, subqueries, inserting, updating and deleting data safely, creating tables and data types, database design and normalisation, indexes and performance, transactions, views, user permissions and SQL injection, and how SQL is used in reporting and careers.
Examples use a simple shop database and standard SQL that works in MySQL, PostgreSQL, SQLite and SQL Server with small differences. Practise in a free online SQL playground or a local database. Every lesson has a video, audio and notes. Pass the final test (75% or more) to earn your certificate.
