Code Editor

Query Results

Run a query to see results.

Database Schema

Schema undefined.
Learn
Queries

Introduction

In this lesson, we will be learning different SQL commands to query a single table in a database.

One of the core purposes of the SQL language is to retrieve information stored in a database. This is commonly referred to as querying. Queries allow us to communicate with the database by asking questions and having the result set return data relevant to the question.

We will be querying a database with one table named movies.

Let's get started!

Fun fact: IBM started out SQL as SEQUEL (Structured English QUEry Language) in the 70's to query databases.

Report a Bug
If you see a bug or any other issue with this page, please report it here.