Visit the SQLite online editor at sqliteonline.com to start creating your database. You don't need to download or install anything.
Click on 'New Table' to create a new table for your database. Name the table 'Animals'.
Add the following columns to your 'Animals' table: 'ID' (integer), 'Name' (text), 'Type' (text), and 'Habitat' (text). Make the 'ID' column the primary key.
Now, let's add some data to your table. Insert at least 3 rows of data about your favorite animals, including their name, type, and habitat. For example, you can add data like this:
1, 'Elephant', 'Mammal', 'Savannah'
2, 'Penguin', 'Bird', 'Antarctica'
3, 'Shark', 'Fish', 'Ocean'
You're previewing this lesson. Get full access to this lesson and hundreds more — each one ready to teach, with interactive activities, printable resources and pupil progress tracking built in.