Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Download the world-x database from the following MySQL website: http://dev.mysql.com/doc/index-other.html (Links to an external site.)Links to an external site. Using the world_x database you installed

Download the world-x database from the following MySQL website: http://dev.mysql.com/doc/index-other.html (Links to an external site.)Links to an external site.

Using the world_x database you installed in Module 1, list the countries and the capitals of each country. Modify your query to limit the list to those countries where less than 30% of the population speaks English. Be sure to identify the literary sources you used to look up any SQL syntax you used to formulate your query.

I am having issues with this I need the capital city name, not the code use the city table for this. select country.name and city.name once joined the tables on the country.capital and the city.ID

Someone help me fix my code please

select * from city;

SELECT CountryCodecountry.NAME,country.Capital FROM country INNER JOIN countrylanguage ON country.Code =

countrylanguage.CountryCode WHERE countrylanguage.Language =

"English" AND countrylanguage.Percentage < 30;

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

Relational Database Design A Practical Approach

Authors: Marilyn Campbell

1st Edition

1587193175, 978-1587193170

More Books

Students also viewed these Databases questions

Question

Different formulas for mathematical core areas.

Answered: 1 week ago

Question

13-4 What are alternative methods for building information systems?

Answered: 1 week ago

Question

13-1 How does building new systems produce organizational change?

Answered: 1 week ago