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.

    Rows= Records Columns = Fields

    VARCHART for long texts fields INT for long numbers up to 2B NUMERIC for long numbers with decimals up to 32 after the decimal

    • brings all the data in the table Make lowercases the fields of data that follows the Coding Command

    Aliasing: renames columns. Should have AS Distinct: to show no repeat values. Should have DISTINCT View: refers to a table that is the result of a saved SQL SELECT statement. The Query is stored. Should have CREATE VIEW

    Add your notes here

    Spinner
    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 as book_title.
    • Select the distinct author names from the author column.
    • Select all records from the table and limit your results to 10.