Answered step by step
Verified Expert Solution
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 CustomerID Which of the following correctly describe the relationship between the two tables?
point
Both the CustomerID field in the Customers table and the CustomerID
field in the Orders table are Primary Keys.
The CustomerID field in the Customers table is a Primary Key and the
CustomerID field in the Orders table is a Foreign Key.
The CustomerID field in the Customers table is a Foreign Key and the
CustomerID field in the Orders table is a Primary Key.
Both the CustomerID field in the Customers table and the CustomerID
field in the Orders table are Foreign Keys.
Question
What is the SQL DDL command can be used for adding primary keys to an existing table in a database?
point
SQL QUERY
CREATE TABLE
UPDATE TABLE
ALTER TABLE
Question
What is the recommend SQL command for loading small to medium amounts of data into a database?
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started