Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You have two tables in your database design: Customers, which lists all your customers, and Orders, which lists all the sales transactions that your customers

You have two tables in your database design: Customers, which lists all your customers, and Orders, which lists all the sales transactions that your customers have made over the years. The two tables each have a field called Customer_ID. Which of the following correctly describe the relationship between the two tables?
1 point
Both the Customer_ID field in the Customers table and the Customer_ID
field in the Orders table are Primary Keys.
The Customer_ID field in the Customers table is a Primary Key and the
Customer_ID field in the Orders table is a Foreign Key.
The Customer_ID field in the Customers table is a Foreign Key and the
Customer_ID field in the Orders table is a Primary Key.
Both the Customer_ID field in the Customers table and the Customer_ID
field in the Orders table are Foreign Keys.
3.
Question 3
What is the SQL DDL command can be used for adding primary keys to an existing table in a database?
1 point
SQL QUERY
CREATE TABLE
UPDATE TABLE
ALTER TABLE
4.
Question 4
What is the recommend SQL command for loading small to medium amounts of data into a database?
1 point
LOAD command
IMPORT command
LOAD or IMPORT (there is no difference)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions