Table: Import Primary key: ImportID Foreign key: CountryID ImportID 1 2 3 Description Electronics Electronics Macinery Year 2018 2019 2018 Value 150000 180000 80000 Write a SQL statement to create the table Import. CountryID 1 1 2 Hint: The sample data should give you an indication of the data types you should use.

Database Systems: Design, Implementation, & Management
11th Edition
ISBN:9781285196145
Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Chapter7: Introduction To Structured Query Language (sql)
Section: Chapter Questions
Problem 25P
icon
Related questions
Question

Database introduction based question 

Table: Import
Primary key: ImportID
Foreign key: CountryID
ImportID Description
Electronics
Electronics
Macinery
1
2
3
Year
2018
2019
2018
Value
150000
180000
80000
Write a SQL statement to create the table Import.
CountryID
1
1
2
Hint: The sample data should give you an indication of the data
types you should use.
Transcribed Image Text:Table: Import Primary key: ImportID Foreign key: CountryID ImportID Description Electronics Electronics Macinery 1 2 3 Year 2018 2019 2018 Value 150000 180000 80000 Write a SQL statement to create the table Import. CountryID 1 1 2 Hint: The sample data should give you an indication of the data types you should use.
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Multiple table
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
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning