SQL Introduction is an educational book that helps beginners understand SQL and learn the fundamentals of relational databases.
The book introduces the core concepts of SQL step by step, with clear explanations and practical query examples. Readers learn how relational database tables are organized and how to retrieve, filter, sort and group data using SQL.
No previous programming or database experience is required.
Currently available edition: Russian («SQL Введение»).
An English translation and additional language editions are planned. Until they are published, the reading and download links below lead to the Russian edition.
Start reading online or choose the format that works best for you.
| Resource | Description |
|---|---|
| Read the Book Online | Read the complete Russian-language edition on the official website |
| Download PDF | Free Russian-language PDF edition for reading and printing |
| Download EPUB | Free Russian-language EPUB edition for ebook readers |
| Free SQL Course | Continue learning with interactive exercises and practical tasks |
| Official SQL Website | Explore additional SQL learning resources and tools |
The book is currently available in Russian. The English translation is planned.
SQL Introduction is a practical introduction to SQL and relational databases.
It is designed to help readers build a solid understanding of the basic concepts before moving on to more advanced SQL topics.
The material follows a progressive learning approach: each chapter introduces a new concept and builds upon the knowledge from previous chapters.
The book covers the following topics:
- Relational databases, tables, rows and columns.
- Fundamental data types.
- SQL syntax and introductory concepts.
- Retrieving data using
SELECT. - Selecting columns and querying database tables.
- Sorting query results with
ORDER BY. - Filtering records with
WHERE. - Column and table aliases.
- Grouping data with
GROUP BY. - Aggregate functions and calculations.
By the end of the book, readers will have an understanding of the essential SQL concepts and be ready to continue learning through practical exercises.
This book is suitable for:
- Complete beginners who want to learn SQL from scratch.
- Aspiring and junior software developers.
- Data analysts and aspiring data professionals.
- Software testers and QA engineers.
- Students studying databases and computer science.
- Anyone who wants to understand relational databases and work with data.
No prior programming experience or knowledge of database systems is required.
The project aims to make its educational materials accessible in multiple languages and formats.
Read the book in your browser, navigate between chapters and access the latest published online version.
The currently available online edition is in Russian.
The PDF edition is suitable for reading on desktop computers, tablets and smartphones, as well as for printing and offline reference.
Download SQL Introduction (PDF)
The EPUB edition is designed for ebook readers and applications that support the EPUB format.
Download SQL Introduction (EPUB)
Both downloadable editions are free.
Note: All currently published book files are in Russian. An English edition is planned but has not yet been released.
Reading a book is an excellent way to understand the fundamentals. Practical exercises help turn that knowledge into real skills.
The SQL project also provides a free interactive SQL course with exercises and practical tasks.
Free SQL Introduction Course
Continue learning SQL by applying the concepts covered in the book and solving practical exercises.
Visit the official project website for additional educational resources, SQL tools and learning materials.
Explore the SQL Learning Project
Sergey Romanenko is a software developer and author of educational books and programming courses.
His educational materials focus on explaining technical concepts through clear, structured explanations and practical examples.
The goal is to help readers understand not only how technologies work, but also how to apply them in real-world software development.
Connect with the author:
This repository contains the source materials used to create the SQL Introduction book.
The manuscript is written in Markdown and organized into chapters. Pandoc and Typst are used to generate the downloadable PDF and EPUB editions.
The project separates book content, visual assets, publication metadata and build scripts.
.
├── LICENSE
├── README.md # International project documentation
├── ru/
│ ├── README.md # Russian edition documentation
│ └── book/
│ ├── chapters/ # Russian book chapters in Markdown
│ ├── images/ # Book cover and illustrations
│ ├── metadata.yaml # Book publication metadata
│ └── template.typ # Typst publication template
└── scripts/
├── build.sh # PDF and EPUB build script
└── release.sh # GitHub release automation
The output/ directory is generated during the build process and is not committed to the repository.
To build the book locally, install the following tools:
Clone the repository:
git clone https://github.com/Awilum/sql-introduction.git
cd sql-introductionBuild the book:
./scripts/build.shAfter a successful build, the generated Russian editions will be available in:
output/
└── ru/
├── sql-introduction.pdf
└── sql-introduction.epub
Generated files should not be edited manually or committed to the repository.
To download the latest published editions, visit:
The book is distributed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license.
You may share and redistribute the material for non-commercial purposes, provided that appropriate attribution is given and the license terms are followed.
See the LICENSE file or read the full CC BY-NC 4.0 license.
Yes. The currently published Russian edition is available to read online and download in PDF and EPUB formats free of charge.
Yes. It starts with fundamental concepts and does not require previous programming or database experience.
Not yet. The currently published edition is in Russian. An English translation is planned. Check the official website for future editions.
It introduces relational databases, data types, SQL syntax, SELECT queries, filtering, sorting, aliases, grouping and aggregate functions.
Yes. The complete Russian edition is available on the official website:
The current PDF and EPUB editions are available through GitHub Releases:
The project provides a free interactive SQL course with exercises and practical tasks:
The complete Markdown source of the currently available Russian edition is maintained in this GitHub repository, under the ru/ directory.