
Oracle-OCP-11g-1Z0-051-题目解析
wjx515628
这个作者很懒,什么都没留下…
展开
-
OCP-1Z0-051-题目解析-第50题
50. SLS is a private synonym for the SH.SALES table. The user SH issues the following command: DROP SYNONYM sls; Which statement is true regarding the above SQL statement? A. Only the synonym原创 2014-07-01 10:14:14 · 2943 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第33题
33. You want to create an ORD_DETAIL table to store details for an order placed having the following business requirement: 1) The order ID will be unique and cannot have null values. 2) The order原创 2014-06-29 17:13:40 · 1544 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第46题
46. Which statements are correct regarding indexes? (Choose all that apply.) A. When a table is dropped, the corresponding indexes are automatically dropped. B. A FOREIGN KEY constraint on a colum原创 2014-06-30 21:27:37 · 1555 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第44题
44. View the Exhibit and examine the structure of the ORD table. Evaluate the following SQL statements that are executed in a user session in the specified order: CREATE SEQUENCE ord_seq; SE原创 2014-06-30 21:17:58 · 1574 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第43题
43. Evaluate the following CREATE SEQUENCE statement: CREATE SEQUENCE seq1 START WITH 100 INCREMENT BY 10 MAXVALUE 200 CYCLE NOCACHE; The SEQ1 sequence has generated numbers up to the ma原创 2014-06-29 22:03:29 · 1431 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第38题
38. Which two statements are true regarding views? (Choose two.) A. A simple view in which column aliases have been used cannot be updated.B. Rows cannot be deleted through a view if the view defi原创 2014-06-29 18:00:16 · 1218 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第31题
31. Evaluate the following SQL commands: SQL>CREATE SEQUENCE ord_seq INCREMENT BY 10 START WITH 120 MAXVALUE 9999 NOCYCLE; SQL>CREATE TABLE ord_items (ord_no NUMBER(4)D原创 2014-06-29 11:27:48 · 1652 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第29题
29. Which two statements are true regarding constraints? (Choose two.) A. A foreign key cannot contain NULL values. B. The column with a UNIQUE constraint can store NULLS . C. A constraint is原创 2014-06-29 11:05:51 · 1355 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第27题
27. Which two statements are true regarding tables? (Choose two.) A. A table name can be of any length. B. A table can have any number of columns. C. A column that has a DEFAULT value cannot sto原创 2014-06-28 23:16:41 · 1717 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第26题
26. Which is the valid CREATE TABLE statement? A. CREATE TABLE emp9$# (emp_no NUMBER (4)); B. CREATE TABLE 9emp$# (emp_no NUMBER(4)); C. CREATE TABLE emp*123 (emp_no NUMBER(4)); D. CRE原创 2014-06-28 23:06:40 · 1367 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第25题
25. You need to create a table with the following column specifications: 1. Employee ID (numeric data type) for each employee 2. Employee Name (character data type) that stores the employee name原创 2014-06-28 23:01:54 · 1824 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第35题
35. Which two statements are true regarding constraints? (Choose two.) A. A table can have only one primary key and one foreign key. B. A table can have only one primary key but multiple foreign k原创 2014-06-29 17:32:33 · 1353 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第36题
36. Examine the following SQL commands: SQL>CREATE TABLE warehouse ( warehouse_id NUMBER(4), roomno NUMBER(10) CONSTRAINT r_id CHECK(roomno BETWEEN 101 AND 200), location VARCHAR2(25),原创 2014-06-29 17:38:14 · 1510 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第39题
39. Evaluate the following command: CREATE TABLE employees (employee_id NUMBER(2) PRIMARY KEY, last_name VARCHAR2(25) NOT NULL, department_id NUMBER(2)NOT NULL, job_id原创 2014-06-29 18:46:51 · 2310 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第49题
49. The ORDERS table belongs to the user OE. OE has granted the SELECT privilege on the ORDERS table to the user HR. Which statement would create a synonym ORD so that HR can execute the following q原创 2014-07-01 09:53:24 · 1397 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第40题
40. View the Exhibit to examine the description for the SALES and PRODUCTS tables. You want to create a SALE_PROD view by executing the following SQL statement: CREATE VIEW sale_prod AS SELECT p原创 2014-06-29 18:48:15 · 1388 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第45题
45. Which two statements are true about sequences created in a single instance database? (Choose two.) A. The numbers generated by a sequence can be used only for one table. B. DELETE would remov原创 2014-06-30 21:25:54 · 1480 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第37题
37. You issued the following command to drop the PRODUCTS table: SQL> DROP TABLE products; What is the implication of this command? (Choose all that apply.) A. All data along with the table stru原创 2014-06-29 17:59:11 · 1441 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第47题
47. 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 th原创 2014-06-30 21:32:27 · 1531 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第48题
48. Which two statements are true regarding indexes? (Choose two.) A. They can be created on tables and clusters. B. They can be created on tables and simple views. C. You can create only one in原创 2014-07-01 09:45:59 · 1779 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第34题
34. You created an ORDERS table with the following description: name Null Type ORD_ID NOT NULL NUMBER(2) CUST_ID NOT NULL NUMBER(原创 2014-06-29 17:25:40 · 1239 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第32题
32. Which CREATE TABLE statement is valid? A. CREATE TABLE ord_details (ord_no NUMBER(2) PRIMARY KEY, item_no NUMBER(3) PRIMARY KEY, ord_date DATE NOT NULL); B. CREATE TABLE原创 2014-06-29 16:55:22 · 1312 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第42题
42. Which three statements are true regarding views? (Choose three.) A. Views can be created only from tables. B. Views can be created from tables or other views. C. Only simple views can use in原创 2014-06-29 22:01:38 · 1388 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第41题
41. Which two statements are true regarding views? (Choose two.) A. A subquery that defines a view cannot include the GROUP BY clause. B. A view that is created with the subquery having the DI原创 2014-06-29 21:37:03 · 1487 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第23题
23. Examine the structure proposed for the TRANSACTIONS table: name Null Type TRANS_ID NOT NULL NUMBER(6) CUST_NAME NOT NULL VARCHAR2(20) CUS原创 2014-06-28 22:43:55 · 1801 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第20题
20. Which three statements are true regarding the data types in Oracle Database 10g/11g? (Choose three.) (在Oracle10g和11g中,关于数据类型,哪三个陈述是正确的?)A. Only one LONG column can be used per table. B. A TI原创 2014-06-28 21:53:21 · 1576 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第15题
15. View the Exhibit and examine the data in the CUSTOMERS table. Evaluate the following query: SQL> SELECT cust_name AS "NAME", cust_credit_limit/2 AS MIDPOINT,MIDPOINT+100 AS "MAX LOWER LIMIT"原创 2014-06-27 18:13:16 · 1387 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第7题
7. Which two statements are true regarding the USING and ON clauses in table joins? (Choose two.)A. Both USING and ON clauses can be used for equijoins and nonequijoins. B. A maximum of one p原创 2014-06-27 15:26:07 · 1602 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第8题
8. View the Exhibit and examine the structure of the CUSTOMERS table.Which two tasks would require subqueries or joins to be executed in a single statement? (Choose two.)(题意:题目给出了一个Customer原创 2014-06-27 15:29:51 · 1854 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第10题
10. View the Exhibit and examine the structure of the PROMOTIONS table.Each promotion has a duration of at least seven days .Your manager has asked you to generate a report, which provides t原创 2014-06-27 15:36:25 · 1251 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第9题
9. Which statement is true regarding the INTERSECT operator?A. It ignores NULL values.B. Reversing the order of the intersected tables alters the result.C. The names of columns in all SELE原创 2014-06-27 15:34:00 · 1287 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第6题
6. Examine the structure of the SHIPMENTS table:name Null TypePO_ID NOT NULL NUMBER(3)PO_DATE NOT NULL DATESHIPMENT_DATE NOT原创 2014-06-27 15:24:13 · 2164 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第4题
4. Which two statements are true regarding single row functions? (Choose two.)A. They a ccept only a single argument.B. They can be nested only to two levels.C. Arguments can only be colum原创 2014-06-27 15:16:56 · 1646 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第17题
17. View the E xhibit and examine the data in the EMPLOYEES table. You want to generate a report showing the total compensation paid to each employee to date. You issue the following query: W原创 2014-06-27 19:14:22 · 2429 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第14题
14. 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原创 2014-06-27 17:40:23 · 1812 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第2题
2. View the Exhibit to examine the description for the SALES table.Which views can have all DML operations performed on it? (Choose all that apply.) A. CREATE VIEW v3AS SELECT * FROM原创 2014-06-27 00:48:35 · 2934 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第18题
18. Examine the structure of the PROMOTIONS table: name Null Type PROMO_ID NOT NULL NUMBER(6) PROMO_NAME NOT NULL VARCHAR2(30) PROMO_CATEGORY NOT NULL VAR原创 2014-06-28 21:18:17 · 1787 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第21题
21. Examine the description of the EMP_DETAILS table given below: name NULL TYPE EMP_ID NOT NULL NUMBER EMP_NAME NOT NULL原创 2014-06-28 22:05:21 · 1890 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第22题
22. You need to create a table for a banking application. One of the columns in the table has the following requirements: 1) You want a column in the table to store the duration of the credit period原创 2014-06-28 22:19:50 · 1788 阅读 · 0 评论 -
OCP-1Z0-051-题目解析-第19题
19. 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原创 2014-06-28 21:35:17 · 1787 阅读 · 0 评论