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.
SQL flavor
- Free and Pay
- Used Relational Database
- Vast majority of Keywords are the same
- all follow universal standar
Create a view CREATE VIEW table_view AS SElect name FROM book
Query are called often result set Schemas are like bluePrint of database
DataFrameas
books
variable
-- Add your own queries here
SELECT DISTINCT author AS unique_author
FROM books
Explore 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.
DataFrameas
df
variable
SELECT DISTINCT author AS unique_autor, title AS book_title
FROM books
LIMIT 10DataFrameas
df
variable
int = length