Write a SQL statement to get the imports and the countries that the imports are from. Include the name of the country and the description of the import in the results.
Write a SQL statement to get the imports and the countries that the imports are from. Include the name of the country and the description of the import in the results.
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter12: Database Queries With Sql
Section: Chapter Questions
Problem 9RQ
Related questions
Question
![Write a SQL statement to get the imports and the countries that
the imports are from. Include the name of the country and the
description of the import in the results.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F03031d4b-836c-4d4f-ad0a-47cbc979c837%2F2ed75d93-21cf-403c-904f-d3d8a4df8fef%2Ft2uk0n_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Write a SQL statement to get the imports and the countries that
the imports are from. Include the name of the country and the
description of the import in the results.
![Table: Country
Primary key: CountryID
CountryID
1
2
3
CountryName
China
Botswana
Nigeria
Table: Import
Primary key: ImportID
Foreign key: CountryID
ImportID
1
2
3
Description
Electronics
Electronics
Macinery
Year
2018
2019
2018
Value
150000
180000
80000
CountryID
1
1
2](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F03031d4b-836c-4d4f-ad0a-47cbc979c837%2F2ed75d93-21cf-403c-904f-d3d8a4df8fef%2F5prhwpa_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Table: Country
Primary key: CountryID
CountryID
1
2
3
CountryName
China
Botswana
Nigeria
Table: Import
Primary key: ImportID
Foreign key: CountryID
ImportID
1
2
3
Description
Electronics
Electronics
Macinery
Year
2018
2019
2018
Value
150000
180000
80000
CountryID
1
1
2
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning