Skip to content
Introduction to SQL
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.
When you want to select all fields in a table, you can just use an asterisk. Furthermore, it is best practice to end a query with a semicolon (which isn't here)
DataFrameas
books
variable
-- Add your own queries here
SELECT *
FROM booksExplore Datasets
Use the books table to explore the data and practice your skills!
- Select only the
titlecolumn. - Alias the
titlecolumn asbook_title. - Select the distinct author names from the
authorcolumn. - Select all records from the table and limit your results to 10.