Skip to content

About

This repository contains the source code for the educational book “SQL Introduction”, along with build system for generating multiple output formats (PDF, EPUB) using Pandoc.

Topics

Resources

Stars

35 stars

Watchers

1 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQL Introduction — A Free Book for SQL Beginners

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.

Read and Download the Book

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.

About the Book

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.

What You Will Learn

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.

Who Is This Book For?

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.

Available Editions and Formats

The project aims to make its educational materials accessible in multiple languages and formats.

Online Edition

Read the book in your browser, navigate between chapters and access the latest published online version.

Read SQL Introduction Online

The currently available online edition is in Russian.

PDF Edition

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)

EPUB Edition

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.

Continue Learning SQL

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.

Explore the Free SQL Course

Visit the official project website for additional educational resources, SQL tools and learning materials.

Explore the SQL Learning Project

About the Author

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:

Project Repository

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.

Project Structure

.
├── 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.

Building the Book from Source

To build the book locally, install the following tools:

Clone the repository:

git clone https://github.com/Awilum/sql-introduction.git
cd sql-introduction

Build the book:

./scripts/build.sh

After 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:

GitHub Releases

License

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.

Frequently Asked Questions

Is SQL Introduction free?

Yes. The currently published Russian edition is available to read online and download in PDF and EPUB formats free of charge.

Is this book suitable for complete beginners?

Yes. It starts with fundamental concepts and does not require previous programming or database experience.

Is the book available in English?

Not yet. The currently published edition is in Russian. An English translation is planned. Check the official website for future editions.

What SQL topics does the book cover?

It introduces relational databases, data types, SQL syntax, SELECT queries, filtering, sorting, aliases, grouping and aggregate functions.

Can I read the book online?

Yes. The complete Russian edition is available on the official website:

Read SQL Introduction Online.

Where can I download the book?

The current PDF and EPUB editions are available through GitHub Releases:

Download PDF · Download EPUB.

Where can I practice SQL?

The project provides a free interactive SQL course with exercises and practical tasks:

Explore the Free SQL Course.

Where is the book's source code?

The complete Markdown source of the currently available Russian edition is maintained in this GitHub repository, under the ru/ directory.

About

This repository contains the source code for the educational book “SQL Introduction”, along with build system for generating multiple output formats (PDF, EPUB) using Pandoc.

Topics

Resources

Stars

35 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages