You need to ensure that the LAST_NAME column only contains certain character values. No numbers or special characters are allowed. Which type of constraint should you define on the LAST_NAME column?
For which column would you create an index?
For which column would you create an index?
The EMPLOYEES and ORDERS tables contain these columns: EMPLO…
The EMPLOYEES and ORDERS tables contain these columns: EMPLOYEES:EMPLOYEE_ID NUMBER(10) NOT NULL PRIMARY KEY FIRST_NAME VARCHAR2(30)LAST_NAME VARCHAR2(30)ADDRESS VARCHAR2(25)CITY VARCHAR2(20)STATE VARCHAR2(2) ZIP NUMBER(9)TELEPHONE NUMBER(10) ORDERS:ORDER_ID NUMBER(10) NOT NULL PRIMARY KEY EMPLOYEE_ID NUMBER(10) NOT NULL FOREIGN KEYORDER_DATE DATETOTAL NUMBER(10) Which SELECT statement will return all orders generated by a sales representative named Franklin during the year 2001?
The CUSTOMERS and SALES tables contain these columns: CUSTOM…
The CUSTOMERS and SALES tables contain these columns: CUSTOMERS:CUST_ID NUMBER(10) PRIMARY KEY COMPANY VARCHAR2(30) LOCATION VARCHAR2(20) SALES:SALES_ID NUMBER(5) PRIMARY KEY CUST_ID NUMBER(10) FOREIGN KEY TOTAL_SALES NUMBER(30) Which SELECT statement will return the customer ID, the company and the total sales?
Evaluate this view definition: CREATE OR REPLACE VIEW part_n…
Evaluate this view definition: CREATE OR REPLACE VIEW part_name_v AS SELECT DISTINCT part_name FROM partsWHERE cost >= 45; Which of the following statements using the PART_NAME_V view will execute successfully?
Which of the following keywords cannot be used when creating…
Which of the following keywords cannot be used when creating a view?
You need to grant user BOB SELECT privileges on the EMPLOYEE…
You need to grant user BOB SELECT privileges on the EMPLOYEES table. You want to allow BOB to grant this privileges to other users. Which statement should you use?
You need to add a row to an existing table. Which DML statem…
You need to add a row to an existing table. Which DML statement should you use?
Which statement about constraints is true?
Which statement about constraints is true?
Which SQL statement is used to remove all the changes made b…
Which SQL statement is used to remove all the changes made by an uncommitted transaction?