Question: Question 1 (A) Write the corresponding SQL statement for the following query: For each continent, show the number of countries that have Constitutional Monarchy as

Question 1

(A) Write the corresponding SQL statement for the following query:

For each continent, show the number of countries that have Constitutional Monarchy as form of government.

(B) Write a trigger that will implement the following policy:

If the population of a particular city is decreased by any value larger than 10% from its current population size, then decrease the population of every country on the same continent as the country of the updated city by 5%.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!