Question
1. List and describe three criteria that should be considered when selecting a primary key for a table: B. In Oracle, what is the difference
1. List and describe three criteria that should be considered when selecting a primary key for a table:
B. In Oracle, what is the difference between the CURRENT_DATE function and the SYSDATE function?
C. What is wrong with the statement Gender is defined as char(1)
ALTER TABLE patient ADD CONSTRAINT p_gender_cCHECK (GENDER IN (NULL, F, M));
2. give more explanation :
Assume that the table VEHICLE has the following data:
V_ID | MAKE | COST_PER_DAY |
9090 | BMW | 100.00 |
9111 | FIAT | 100.00 |
9191 | FORD | 51.00 |
9192 | FORD | 88.00 |
1001 | NISSAN | 40.00 |
How many rows will be deleted by the following SQL statements:
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