1Z1-051試験無料問題集「Oracle Database: SQL Fundamentals I 認定」

Which statements are true regarding the FOR UPDATE clause in a SELECT statement? (Choose all that apply.)

解説: (GoShiken メンバーにのみ表示されます)
Examine these statements:
CREATE ROLE registrar;
GRANT UPDATE ON student_grades TO registrar;
GRANT registrar to user1, user2, user3;
What does this set of SQL statements do?

解説: (GoShiken メンバーにのみ表示されます)
View the Exhibit and examine the data in the PRODUCTS table. You need to display product names from the PRODUCTS table that belong to the 'Software/Other1 category with minimum prices as either $2000 or $4000 and no unit of measure. You issue thej following query:

Which statement is true regarding the above query?

The STUDENT_GRADES table has these columns:
STUDENT_ID NUMBER(12)
SEMESTER_END DATE
GPA NUMBER(4,3)
The registrar requested a report listing the students' grade point averages (GPA) sorted from highest grade point average to lowest.
Which statement produces a report that displays the student ID and GPA in the sorted order requested by the registrar?

解説: (GoShiken メンバーにのみ表示されます)
Which statement is true regarding the COALESCE function?

解説: (GoShiken メンバーにのみ表示されます)
Which two statements about sub queries are true? (Choose two.)

解説: (GoShiken メンバーにのみ表示されます)
View the Exhibit and examine the structure of the PROMOTIONS table.
You need to generate a report of all promos from the PROMOTIONS table based on the following conditions:
1.The promo name should not begin with 'T' or 'N'.
2.The promo should cost more than $20000.
3.The promo should have ended after 1st January 2001.
Which WHERE clause would give the required result?

Evaluate the following query:

What would be the outcome of the above query?

解説: (GoShiken メンバーにのみ表示されます)
Evaluate the SQL statement
DROP TABLE DEPT:
Which four statements are true of the SQL statement? (Choose four)

正解:A,C,D,E 解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
Examine the structure of the INVOICE table:
Exhibit:

Which two SQL statements would execute successfully? (Choose two.)

解説: (GoShiken メンバーにのみ表示されます)
Using the CUSTOMERS table, you need to generate a report that shows 50% of each credit amount in each income level. The report should NOT show any repeated credit amounts in each income level. Which query would give the required result?

解説: (GoShiken メンバーにのみ表示されます)
Which four are valid Oracle constraint types? (Choose four.)

正解:A,B,C,G 解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
View the Exhibit and examine the structure of ORD and ORD_ITEMS tables.
The ORD_NO column is PRIMARY KEY in the ORD table and the ORD_NO and ITEM_NO columns are composite PRIMARY KEY in the ORD_ITEMS table.
Which two CREATE INDEX statements are valid? (Choose two.)

解説: (GoShiken メンバーにのみ表示されます)
View the Exhibit and examine the structure of CUSTOMERS table.
Evaluate the following query:

Which statement is true regarding the above query?

Examine the structure and data in the PRIC E_LIST table: Name Null? Type
PROD_D NOT NULL NUMBER(3)
PROD_PRICE VARCHAR2(10)
PROD_ID PROD PRICE
100 $234.55
101 $6,509.75
102 $1,234
in the same format as the PROD_PRICE. Which SQL statement would give the required result?

View the Exhibit and examine the structures of the EMPLOYEES and DEPARTMENTS tables.
You want to update the EMPLOYEES table as follows:4 ? 4;
-Update only those employees who work in Boston or Seattle (locations 2900 and 2700).
-Set department_id for these employees to the department_id corresponding to London
(location_id 2100).
-Set the employees' salary in location_id 2100 to 1.1 times the average salary of their department.
-Set the employees' commission in location_id 2100 to 1.5 times the average commission of their
department.
You issue the following command:
SQL>UPDATE employees
SET department_id =
(SELECT department_id
FROM departments
WHERE location_id = 2100),
(salary, commission) =
(SELECT 1.1*AVG(salary), 1.5*AVG(commission)
FROM employees, departments
WHERE departments.location_id IN(2900,2700,2100))
WHERE department_id IN
(SELECT department_id
FROM departments
WHERE location_id = 2900
OR location_id = 2700)
What is the outcome?

Which two statements are true about sequences created in a single instance database? (Choose two.)

解説: (GoShiken メンバーにのみ表示されます)