Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Practice: SQL if/case and procedure 1. Add 10 to the GNP For all the countries in North America and 5 to the rest of the

Practice: SQL if/case and procedure

1. Add 10 to the GNP For all the countries in North America and 5 to the rest of the countries in the Country table (using IF statement)

2. For all the countries in North America In the Country table, add 2 to the GNP of the countries in the region of "Caribbean", add 5 to the GNP of the countries in the region of "Central America", and add 10 to the GNP of the countries in the region of "North America" (using CASE statement).

3. Create a procedure to add certain years to lifeexpectancy to the countries in certain continent in the Country table.

4. Create a procedure to display the official language of certain country in the CountryLanguage table.

5. Create a procedure to display the countries that have the population more than a certain number in a certain continent in the Country table.

The World Schema/DB can be downloaded from https://dev.mysql.com/doc/index-other.html

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions

Question

=+What is the most that you should pay to complete development?

Answered: 1 week ago

Question

=+development and make the product, should you go ahead and do so?

Answered: 1 week ago