1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ser-zykov [4K]
3 years ago
11

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. Submit your query and query results Word file.
Computers and Technology
1 answer:
Rainbow [258]3 years ago
5 0

Answer:

SELECT country.Name, city.Name

FROM country

JOIN countrylanguage ON country.Code = countrylanguage.CountryCode

JOIN city ON country.Capital = city.ID

WHERE countrylanguage.Language = 'English'

AND countrylanguage.Percentage < 30;

Explanation:

SELECT is used to query the database and get back the specified fields.

City.Name is an attribute of city table.

country.Name is an attribute of country table.

FROM is used to query the database and get back the preferred information by specifying the table name.

country , countrylanguage and city are the table names.

country and countrylanguage are joined based ON country.Code = countrylanguage.CountryCode

countrylanguage and city are joined based ON country.Capital = city.ID

WHERE is used to specify a condition based on which the data is to be retrieved. The conditions are as follows:

countrylanguage.Language = 'English'

countrylanguage.Percentage < 30;

You might be interested in
Petra has an interview with an IT company. What technique can help prepare her?
SVEN [57.7K]
I would go C because that way it gets her prepared to answer any techie questions they would have for her and would make her a better option.
3 0
3 years ago
Read 2 more answers
What is Key benefit of using ram in a computer ?
photoshop1234 [79]
<span>Every computer has ram, its what starts it up, saves information and speeds up your pc, a good amount of ram is 4gbs. Hope this helps.</span>
7 0
3 years ago
Read 2 more answers
Select all that apply.
bagirrra123 [75]

Answer:

explain

Explanation:

sorry didn't understand a thing you said except copying and pasting documents

3 0
3 years ago
Read 2 more answers
This website is using a security service to protect itself from online attacks.
uysha [10]

Answer:

yes it has an ssl certificate making it impossible to hack

3 0
2 years ago
Complete the sentence.
Hatshy [7]

the http acquires the ip address

Explanation:

this is because it is the default protocol

6 0
3 years ago
Read 2 more answers
Other questions:
  • April 107 90 29 31 66 0.344
    8·1 answer
  • A ____ is a prewritten formula that is built into excel.
    6·1 answer
  • Manuel is working on a project in Visual Studio. He wants to keep this program showing on the entire desktop, but he also needs
    7·1 answer
  • The expression that is tested by a switch statement must have a(n) __________ value.
    12·1 answer
  • Which are guidlines for using themes? Check all that apply
    13·1 answer
  • 3. Choose the statement that best describes a ray. A ray extends forever in both directions. B ray is a part of a line with two
    10·1 answer
  • I only put one answer and didn’t specify what it answered
    14·2 answers
  • A computer equipped with fingerprint recognition software, which denies access to a computer to anyone whose fingerprint is not
    15·1 answer
  • Pls help me computer science discoveries
    5·1 answer
  • Identify a characteristic that is a disadvantage of cloud-based hosting.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!