Skip to content

Introduction to SQL

SQL (Structured Query Language) is a language we use to interact with a Data Base Management System (DBMS).

After we introduced the most popular conceptual Data Model, Entity-Relationship (ER), and the most popular logic data model (the Relational Model), it's time to introduce SQL.

SQL (Structured Query Language) is a language we use to interact with a Database Management System (DBMS).

As the name suggests, it's not a programming language, but it was born as a querying language, and later evolved to an interface to doing more advanced operations with a database than just performing queries.

I said "evolved", but in reality SQL is always evolving. It's a standard that was first published in 1986, then updated in 1989, 1992, 1999, 2003, 2006, 2008, 2011, 2016 and as its latest version at the time of writing, 2019.

SQL is implemented in many popular DBMS: PostgreSQL, MySQL, Oracle, SQLite, MicroSoft SQL Server, and many more. Each different database implements the standard, or a particular version of it, and adds custom features on top of it, to simplify creating queries or adding a specific functionality.

Unless noted otherwise, every time I talk about SQL I talk about the SQL standard, not a particular implementation of it.

SQL is a huge subject. I cover many of its topics in different blog posts, including:

SQL, creating a table SQL, adding data to a table SQL, how to use SELECT SQL, how to update a table structure SQL, how to update data SQL, how to delete data and tables SQL, Handling empty cells SQL, Unique and Primary keys SQL Views SQL Joins

→ Download my free SQL Handbook!

THE VALLEY OF CODE

THE WEB DEVELOPER's MANUAL

You might be interested in those things I do:

  • Learn to code in THE VALLEY OF CODE, your your web development manual
  • Find a ton of Web Development projects to learn modern tech stacks in practice in THE VALLEY OF CODE PRO
  • I wrote 16 books for beginner software developers, DOWNLOAD THEM NOW
  • Every year I organize a hands-on cohort course coding BOOTCAMP to teach you how to build a complex, modern Web Application in practice (next edition February-March-April-May 2024)
  • Learn how to start a solopreneur business on the Internet with SOLO LAB (next edition in 2024)
  • Find me on X

Related posts that talk about database: