1Z0-047 Exam Questions
226 real 1Z0-047 exam questions with expert-verified answers and explanations. Page 5 of 5.
- Question #236
Given below are the SQL statements executed in a user session: CREATE TABLE product (pcode NUMBER(2), pnameVARCHAR2(10)); INSERT INTO product VALUES(1, `pen'); INSERT INTO product...
- Question #237
View the Exhibit and examine the structure of the ORDER_ITEMS table. You need to display the ORDER_ID of the order that has the highest total value among all the orders in the ORDE...
- Question #239
Evaluate the following command: CREATE TABLE employees (employee_id NUMBER(2) PRIMARY KEY, last_name VARCHAR2(25) NOT NULL, department_id NUMBER(2), job_id VARCHAR2(8), salary NUMB...
- Question #240
View the Exhibit and examine DEPARTMENTS and the LOCATIONS tables. Evaluate the following SOL statement: SELECT location_id, city FROM locations I WHERE NOT EXISTS (SELECT location...
- Question #241
Which three tasks can be performed using regular expression support in Oracle Database 10g? (Choose three.)
- Question #242
User OE, the owner of the ORDERS table, issues the following command: GRANT SELECT .INSERT ON orders TO hr WITH GRANT OPTION; The user HR issues the following command: GRANT SELECT...
- Question #244
View the Exhibit and examine the data in the DEPARTMENTS tables. Evaluate the following SQL statement: SELECT department_id "DEPT_ID", department_name , 'b' FROM departments WHERE...
- Question #245
Evaluate the following statements: CREATE TABLE digits (id NUMBER(2), description VARCHAR2(15)); INSERT INTO digits VALUES (1,'ONE'); UPDATE digits SET description =TWO'WHERE id=1;...
- Question #246
View the Exhibit and examine the structure of the ORDERS table. Which UPDATE statement is valid?
- Question #247
View the Exhibit and examine the descriptions of ORDER_ITEMS and ORDERS tables. You want to display the CUSTOMER_ID, PRODUCT_ID, and total (UNIT_PRICE multiplied by QUANTITY) for t...
- Question #248
Which statement correctly differentiates a system privilege from an object privilege?
- Question #249
View the Exhibit and examine the structure of the ORDERS table. You have to display ORDER_ID, ORDER_DATE, and CUSTOMER_ID for all those orders that were placed after the last order...
- Question #250
View the Exhibit and examine the structure of the ORDERS table. The ORDER_ID column has the PRIMARY KEY constraint and CUSTOMER_ID has the NOT NULL constraint. Evaluate the followi...
- Question #252
View the Exhibit and examine the description of the ORDERS table. Which two WHERE clause conditions demonstrate the correct usage of conversion functions? (Choose two.)
- Question #253
View the Exhibit and examine the structure of the EMPLOYEES table. You want to know the FIRST_NAME and SALARY for all employees who have the same manager as that of the employee wi...
- Question #254
View the Exhibit and examine the structure of the ORDERS table. The ORDER_ID column is the PRIMARY KEY in the ORDERS table. Evaluate the following CREATE TABLE command: CREATE TABL...
- Question #255
Which two statements are true regarding constraints? (Choose two.)
- Question #256
View the Exhibit and examine the description for EMPLOYEES and DEPARTMENTS tables. Evaluate the following SQL statement: SELECT e.department_id, e.job_id, d.location_id, sum(e. sal...
- Question #258
User OE, the owner of the ORDERS table, issues the following command: GRANT SELECT,INSERT ON orders TO hr WITH GRANT OPTION; The user HR issues the following command: GRANT SELECT...
- Question #259
Evaluate the following CREATE TABLE commands: CREATE TABLE orders (ord_no NUMBER(2) CONSTRAINT ord_pk PRIMARY KEY, ord_date DATE, cust_id NUMBER(4)); CREATE TABLE ord_items (ord_no...
- Question #260
View the Exhibit and examine the structure of the CUSTOMERS table. CUSTOMER_VU is a view based on CUSTOMERS_BR1 table which has the same structure as CUSTOMERS table. CUSTOMERS nee...
- Question #261
Which statement correctly grants a system privilege?
- Question #262
View the Exhibit and examine the structure of the EMPLOYEES table. You want to retrieve hierarchical data of the employees using the top-down hierarchy. Which SQL clause would let...
- Question #263
View the Exhibit and examine the descriptions of the DEPT and LOCATIONS tables. You want to update the CITY column of the DEPT table for all the rows with the corresponding value i...
- Question #264
View the Exhibit and examine the structure of the ORDERS table. The ORDERS table belongs to the user OE. HR is another user in the database. Evaluate the commands issued by users O...
- Question #265
EMPDET is an external table containing the columns EMPNO and ENAME. Which command would work in relation to the EMPDET table?