Skip to content
Introduction to SQL
Here you can access the books
table used in the course.
Take Notes
Add notes about the concepts you've learned and SQL cells with queries you want to keep.
Add your notes here
DataFrameavailable as
books
variable
-- Add your own queries here
SELECT *
FROM books
Explore Datasets
Use the books
table to explore the data and practice your skills!
- Select only the
title
column. - Alias the
title
column asbook_title
. - Select the distinct author names from the
author
column. - Select all records from the table and limit your results to 10.
DataFrameavailable as
df
variable
SELECT title
FROM books;
DataFrameavailable as
df
variable
SELECT title AS book_title
FROM books;
DataFrameavailable as
df
variable
SELECT DISTINCT author
FROM books;
DataFrameavailable as
df
variable
SELECT *
FROM books
LIMIT 10;
Current Type: Bar
Current X-axis: title
Current Y-axis: author
Current Color: genre