Skip to content
Introduction to SQL
  • AI Chat
  • Code
  • Report
  • 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

    Spinner
    DataFrameavailable as
    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 title column.
    • Alias the title column as book_title.
    • Select the distinct author names from the author column.
    • Select all records from the table and limit your results to 10.
    Spinner
    DataFrameavailable as
    df
    variable
    SELECT  DISTINCT author AS unique_autor, title AS book_title
    FROM books
    LIMIT 10
    Spinner
    DataFrameavailable as
    df
    variable
    int = length