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
ikadub [295]
3 years ago
13

A database designer wants to create three tables: Supplier, Product, and Country. The Supplier table has a Countryld column with

values that must appear in the Country table's Countryld column. The Product table has an auto-increment column.
Which table's CREATE TABLE statement(s) must specify a FOREIGN KEY?
a. Supplier
b. Product
c. Country
d. Supplier and Country
Computers and Technology
1 answer:
Natali [406]3 years ago
5 0

Answer:

(a) Supplier

Explanation:

In database design, two tables are linked together using a FOREIGN KEY. A foreign key is formed from one or more columns of one table that reference or match another key (often called a primary key) in another table. In other words, when a column or a combination of columns on one table points to a primary key of another table, the column(s) will specify the foreign key.

<em>PS: A primary key is used to make each entry of a table unique. </em>

<em />

In the given tables - Supplier, Product, Country -  since the Supplier table has a column called <em>CountryId</em> referencing the CountryId column of the Country table, then <em>CountryId </em> is a <em>primary key</em> in Country table but a <em>foreign key</em> in Supplier table.

Therefore, the CREATE TABLE statement(s) of the Supplier table must specify a foreign key.

You might be interested in
Susan is troubleshooting a problem with a computer's network cabling. At which layer of the Open Systems Interconnection (OSI) R
Alisiya [41]

Answer:

Physical layer

Explanation:

The physical layer is responsible for the physical cable or wireless connection.

6 0
3 years ago
Which of the following statements is false?
GrogVix [38]

Answer:

bnnnnn A1

Explanation:

bnnnnnjm

8 0
3 years ago
Literacy is best defined as knowing how to: (Points : 1
Soloha48 [4]
Depends on what kind of literacy you are referring to, (computer, health, etc). Since this was asked under computers and technology, I will base my answer on Computer Literacy.

Computer Literacy basically means how much you know about using a computer. Using applications such as Internet Explorer and Microsoft word, or simply typing a document is a form of computer literacy.
6 0
4 years ago
One of your suppliers has recently been in the news. Workers complain of long hours, hot and stuffy workrooms, poor lighting, an
Alex73 [517]

Answer: sweatshop

Explanation

7 0
3 years ago
https://.Mia is taught to go to sleep when the light is turned off. However, for many months Mia no longer falls asleep when the
kotykmax [81]

Answer:

Spontaneous recovery is the correct answer.

Explanation:

7 0
4 years ago
Other questions:
  • Define the method object inc_num_kids() for PersonInfo. inc_num_kids increments the member data num_kids.Sample output for the g
    11·1 answer
  • How to add bullet points in google slides??
    12·2 answers
  • ____________________ software is a type of security software designed to identify and neutralize web bugs, ad-serving cookies, a
    8·1 answer
  • You rub two red balloons against a wool scarf. What do you think will happen if you place the balloons near each other. Justify
    5·1 answer
  • Write a program that lets the user play the game of Rock, Paper, Scissors against the computer. The program should work as follo
    15·1 answer
  • A new systems development project is Pete’s first experience as a project manager, and he has led his team successfully to the p
    13·1 answer
  • How do u reverse image search on Android? ​
    9·1 answer
  • Why does your e-learning course need a title slide?
    10·2 answers
  • Why is nigeria no<br>t in the country list​
    6·2 answers
  • 25 points select 3 options!!!!!!!!!!!!!!!!!!!!!!!!!
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!