Problem: Ask Questions About Questions

Use the following pet table to solve the mini challenge.

The pets table

ID

Name

Type

Age

1

Coco

Dog

5

2

Luna

Cat

3

3

Goldie

Fish

1

Show all pet types whose average age is higher than the overall average pet age.

Problem: Ask Questions About Questions

Use the following pet table to solve the mini challenge.

The pets table

ID

Name

Type

Age

1

Coco

Dog

5

2

Luna

Cat

3

3

Goldie

Fish

1

Show all pet types whose average age is higher than the overall average pet age.

MySQL
# Write your query here