72.View the exhibit for the structure of the STUDENTand FACULTYtables. STUDENT Name Null? Type ------------------ ------------------- ------------- STUDENT_ID NOT NULL NUMBER(2) STUDENT_NAME VARCHAR2(20) FACULTY_ID VARCHAR2(2) LOCATION_ID NUMBER(2) F…
71.(32-18) choose three Which three statements indicate the end of a transaction? (Choose three.) A) after a CREATE statement is issued B) after a SELECT statement is issued C) after a ROLLBACK is issued D) after a SAVEPOINT is issued E) after a COMM…
70.(31-2)choose the best answer: View the Exhibit and examine the structure of the Book table. The BOOKS table contains details of 100 books. Examine the commands executed and their outcome: SQL>INSERT INTO books VALUES ('ADV112', 'Adventures of Tom…
69.(31-1)choose the best answer: Evaluate the following query: SELECT INTERVAL '300' MONTH, INTERVAL '54-2' YEAR TO MONTH, INTERVAL '11:12:10.1234567' HOUR TO SECOND FROM dual; What is the correct output of the above query? A) +25-00 , +00-650, +00 1…
68.(29-13)choose two: Which two statements are true? (Choose two.) A) DICTIONARY is a view that contains the names of all the data dictionary views that the user can access. B) The user SYSTEM owns all the base tables and user-accessible views of the…
67.(25-8)choose the best answer: View the Exhibit and examine the structure of CUSTOMERS table. Evaluate the following query: SQL>SELECT cust_id, cust_city FROM customers WHERE cust_first_name NOT LIKE 'A_%g_%' AND cust_credit_limit BETWEEN 5000 AND…
66.(22-19)choose two Examine the structure proposed for the TRANSACTIONS table: Which two statements are true regarding the creation and storage of data in the above table structure? A) The TRANS_DATE column would be able to store day, month, century…
65.(22-16) choose the best answer: The CUSTOMERS table has the following structure: You need to write a query that does the following tasks: 1. Display the first name and tax amount of the customers. Tax is 5% of their credit limit. 2. Only those cus…
52.(12-11) choose the best answer: Examine the structure and data in the PRICE_LIST table: You plan to give a discount of 25% on the product price and need to display the discount amount in the same format as the PROD_PRICE. Which SQL statement would…
------------------------------------------------------- 51.(12-10)choose the best answer: Evaluate the following SQL statement: SQL> SELECT cust_id, cust_last_name FROM customers WHERE cust_credit_limit IN (select cust_credit_limit FROM customers WHE…
50.(11-15)choose two Examine the structure of the MARKS table: Which two statements would execute successfully? A) SELECT SUM(subjectl+subject2+subject3) FROM marks WHERE student_name IS NULL; B) SELECT SUM(DISTINCT NVL(subject1,0)), MAX(subjectl) FR…
49.(11-1) choose the best answer Examine the structure of the SHIPMENTS table: You want to generate a report that displays the PO_ID and the penalty amount to be paid(罚款数额) if the SHIPMENT_DATE is later than one month from the PO_DATE. The penalty is…
74.View the exhibit and examine the structure of ORDERS and CUSTOMERS tables. ORDERS Name     Null?       Type ORDER_ID  NOT NULL  NUMBER(4) ORDER_DATE  NOT NULL   DATE ORDER_MODE   VARCHAR2(8) CUSTOMER_ID NOT NULL  NUMBER(6) ORDER_TOTAL   NUMBER(8,…
80.View the exhibit and examine the structure in ORDERS and ORDER_ITEMS tables. You need to create a view that displays the ORDER_ID, ORDER_DATE, and the total number of items in each order. Which CREATE VIEW statement would create the views successf…
79.Which statement is true about transactions? A. A set of Data Manipulation Language (DML) statements executed in a sequence ending with a SAVEPOINT forms a single transaction. B. Each Data Definition Language(DDL) statement executed forms a single…
78.View the exhibit and examine the structure of the CUSTOMERStable. Which two tasks would require subqueries or joins to be executed in a single statement? A. finding the number of customers, in each city, whose credit limit is more than the average…
77.Which two statements are true about sequences created in a single instance database? (Choose two.) A. When the MAXVALUElimit for the sequence is reached, you can increase the MAXVALUElimit by using the ALTER SEQUENCEstatement. B. DELETE < sequence…
76.View the exhibit and examine the description of the DEPARTMENTSand EMPLOYEEStables. The retrieve data for all the employees for their EMPLOYEE_ID, FIRST_NAME, and DEPARTMENT NAME, the following SQL statement was written: SELECT employee_id, first_…
75.Which statements are correct regarding indexes? (Choose all that apply.) A. A non-deferrable PRIMARY KEYor UNIQUE KEYconstraint in a table automatically attempts to creates a unique index. B. Indexes should be created on columns that are frequentl…
73.Which statement correctly grants a system privilege? A. GRANT CREATE VIEW ON table1 TO user1; B. GRANT ALTER TABLE TO PUBLIC; C. GRANT CREATE TABLE TO user1, user2; D. GRANT CREATE SESSION TO ALL; Correct Answer: C Section: (none) Explanation 解析:无…
2019-02-12 16:23:54   2.(4-7) choose the best answer:You need to display the first names of all customers from the CUSTOMERS table that contain thecharacter 'e' and have the character 'a' in the second last position.Which query would give the require…
35.choose the best answer View the Exhibit and examine the description of the EMPLOYEES table. Evaluate the following SQL statement: SELECT first_name, employee_id, NEXT_DAY(ADD_MONTHS(hire_date,6),1) "Review" FROM employees; The query was writt…
32.choose the best answer View the Exhibit and examine the data in EMP and DEPT tables. In the DEPT table, DEPTNO is the PRIMARY KEY. In the EMP table, EMPNO is the PRIMARY KEY and DEPTNO is the FOREIGN KEY referencing the DEPTNO column in the DEPT t…
31.choose the best answer Which statement is true regarding the USING clause in table joins? A) It can be used to access data from tables through equijoins as well as nonequijoins. B) It can be used to join tables that have columns with the same name…
30.choose the best answer Examine the commands used to create DEPARTMENT_DETAILS and COURSE_DETAILS: SQL> CREATE TABLE DEPARTMENT_DETAILS (DEPARTMENT_ID NUMBER PRIMARY KEY, DEPARTMENT_NAME VARCHAR2(50) , HOD VARCHAR2(50)); SQL> CREATE TABLE COURSE_D…
29.choose the best answer Evaluate the following query: SQL> SELECT promo_name || q'{'s start date was \}' || promo_begin_date AS "Promotion Launches" FROM promotions; What would be the outcome of the above query? A) It produces an error beca…
8.(5-4) choose the best answer:You need to produce a report where each customer's credit limit has been incremented by $1000.In the output, the customer's last name should have the heading Name and the incremented creditlimit should be labeled New Cr…
7.(5-1) choose two:View the Exhibit and examine the structure of the PRODUCTS table.Which two tasks would require subqueries? A) Display the minimum list price for each product status.B) Display the total number of products supplied by supplier 102 a…
6.(4-21) choose the best answer: View the Exhibit and examine the structure of the CUSTOMERS table. Evaluate the following SQL statement: SQL> SELECT cust_city, COUNT(cust_last_name) FROM customers WHERE cust_credit_limit > 1000 GROUP BY cust_city H…
5.(4-12) choose two: You executed the following CREATE TABLE statement that resulted in an error: SQL> CREATE TABLE employees( emp_id NUMBER(10) PRIMARY KEY, ename VARCHAR2(20), email NUMBER(3) UNIQUE, address VARCHAR2(500), phone VARCHAR2 (20), resu…