Problem: Sort the Answers

Sort pets by age descending, then by name ascending.

The pets table

ID

Name

Type

Age

1

Coco

dog

5

2

Luna

cat

3

3

Goldie

fish

1

Use the above table to write your query.

Problem: Sort the Answers

Sort pets by age descending, then by name ascending.

The pets table

ID

Name

Type

Age

1

Coco

dog

5

2

Luna

cat

3

3

Goldie

fish

1

Use the above table to write your query.

MySQL
# Write your query here: