Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Quiz
5. Exercise 1

Instruction

Now that we know the data, let's get started!

Data about all the zoo's animals is stored in the animal table. Remember, this table contains the columns:

  • id
  • name
  • species
  • city
  • age
  • arrived_date
  • picture (default value of 'img/no-photo.jpg')

Exercise

Insert records into the animal table for two new mammals:

id species name age arrived_date
6 bear Max 2 today
7 tiger Smokey 1 today

At this time, we don't know any more about these animals.

Stuck? Here's a hint!

Use the CURRENT_TIMESTAMP function to get today's date.