Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Inserting Data | Populating a Database
Introduction to SQL
course content

Course Content

Introduction to SQL

Introduction to SQL

1. Getting Started
3. Sorting Data
4. Populating a Database
5. Updating & Deleting Data

book
Challenge: Inserting Data

With the library's books table set up, it's time to start filling it with data! As part of your job, you'll add records for the books already in the library.

Task
test

Swipe to show code editor

Your task is to insert a row into the books table with the following data:

  • Title: Robinson Crusoe
  • Author: Daniel Defoe
  • Genre: Adventure
  • Published Year: 1719
  • ISBN: 9780141439822
  • Publisher: Penguin Classics
  • Pages: 320
  • Language: English
  • Availability: Yes

Use the general syntax for inserting the row into the table.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 4. Chapter 4
toggle bottom row

book
Challenge: Inserting Data

With the library's books table set up, it's time to start filling it with data! As part of your job, you'll add records for the books already in the library.

Task
test

Swipe to show code editor

Your task is to insert a row into the books table with the following data:

  • Title: Robinson Crusoe
  • Author: Daniel Defoe
  • Genre: Adventure
  • Published Year: 1719
  • ISBN: 9780141439822
  • Publisher: Penguin Classics
  • Pages: 320
  • Language: English
  • Availability: Yes

Use the general syntax for inserting the row into the table.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 4. Chapter 4
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt