Free database tutorials
Learn Databases from Scratch with Practical SQL Tutorials
DatabaseFAQs.com has 640+ step-by-step tutorials on SQL Server, Azure SQL, PostgreSQL, MariaDB, Oracle, MongoDB and MySQL. Every guide shows the real queries, the exact screens and the fixes for the errors you actually run into.
SQL Server tutorials Browse all databases
- 640+Free tutorials
- 7Databases covered
- 14+ yearsHands-on data experience
Browse by database
SQL Server, PostgreSQL, MariaDB, Oracle & More
Pick a database to see every tutorial for it, newest first.
-
201 tutorials
SQL Server
Stored procedures, joins, triggers, views, dates and SSMS how-tos.
View SQL Server tutorials -
145 tutorials
MariaDB
Install, create tables and users, JSON functions and everyday queries.
View MariaDB tutorials -
128 tutorials
PostgreSQL
Install, SELECT, joins, dates, VACUUM, backups and PL/pgSQL.
View PostgreSQL tutorials -
71 tutorials
Oracle
Oracle 19c setup, datatypes, users, sequences and stored procedures.
View Oracle tutorials -
66 tutorials
MongoDB
Collections, queries, aggregation, indexes and connection errors.
View MongoDB tutorials -
26 tutorials
Azure SQL
Create, connect, secure, migrate and back up Azure SQL databases.
View Azure SQL tutorials -
10 tutorials
MySQL
Install MySQL, create databases, tables and users, datatypes and joins.
View MySQL tutorials -
640+ tutorials
All Tutorials
Every database tutorial on the site in one place, newest first.
See the blog
Start learning
Step-by-Step Database Tutorials by Topic
Each topic starts with one main tutorial, followed by the related lessons readers look for most.
SQL Server
SQL Server Create Stored Procedure (15 Ways)
Write, run and debug stored procedures, from a simple SELECT to parameters and error handling.
SQL Server
SQL Server INNER JOIN
Combine rows from two or more tables and pick the right join for the result you need.
SQL Server
SQL Server Trigger Tutorial with Examples
Run code automatically when rows are inserted, updated or deleted, and keep audit tables in sync.
Azure SQL
What Is Azure SQL?
Create an Azure SQL database, open the firewall, connect to it and move your data to the cloud.
PostgreSQL
How to Download and Install PostgreSQL on Windows
Install PostgreSQL, create your first tables and learn the data types and queries you will use daily.
MariaDB
How to Install MariaDB
Set up MariaDB, create databases and users, and write the SELECT, INSERT and UPDATE queries you need.
Oracle
Oracle 19c Installation on Windows 10
Install Oracle, understand its datatypes and manage users, tables and stored procedures.
MongoDB
How to Install MongoDB
Get MongoDB running, then create collections, update documents and join data across collections.
MySQL
MySQL Tutorial
Learn MySQL from installation to tables, datatypes, users and joins, one short lesson at a time.
Troubleshooting
Fix Common Database Errors
Seeing an error message? Find it below for the cause and the exact steps that fix it.
SQL Server
Azure SQL
PostgreSQL, MariaDB & MySQL
MongoDB
Compare databases
Reader favorites
Popular Database Tutorials
- SQL Server Create Stored Procedure (15 Ways)SQL Server
- SQL Server Convert Datetime to StringSQL Server
- How to Get the Connection String from SQL ServerSQL Server
- Delete Duplicate Rows in SQL ServerSQL Server
- SQL Server STRING_AGG with 12 Useful ExamplesSQL Server
- How to Connect to an Azure SQL Database (Multiple Ways)Azure SQL
- How to Download and Install PostgreSQL on WindowsPostgreSQL
- PostgreSQL vs SQL ServerComparison
- Oracle TO_DATE Format: Complete GuideOracle
- MariaDB JSON Functions with 33 ExamplesMariaDB
- MongoDB Group By Count (12 Examples)MongoDB
- How to Install MySQL on WindowsMySQL
Recently added
Latest Database Tutorials
Azure Lessons on YouTube
Prefer to Watch? Learn with Free Video Tutorials
Follow along on screen as Rajkishore creates Azure SQL databases, connects from SSMS, writes T-SQL and fixes real errors, one short step-by-step video at a time.
- 600+Free videos
- Step by stepReal Azure portal & SSMS screens
- Azure SQL Database
- SQL Server
- SSMS
- Azure Functions
- Azure DevOps



