最新的Oracle Database: SQL Fundamentals I - 1Z0-051免費考試真題

問題1
View the Exhibit; e xamine 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 the weekly cost for each promotion done to l date.
Which query would achieve the required result?

正確答案: B
問題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.)

正確答案: B,C
說明:(僅 VCESoft 成員可見)
問題3
You need to create a table for a banking application. One of the columns in the table has the following requirements:
You want a column in the table to store the duration of the credit period
The data in the column should be stored in a format such that it can be easily added and subtracted with DATE data type without using conversion The maximum period of the credit provision in the application is 30 days the interest has to be calculated for the number of days an individual has taken a credit for
Which data type would you use for such a column in the table?

正確答案: D
問題4
Which two statements are true regarding constraints? (Choose two.)

正確答案: B,C
問題5
Which statement is true regarding the INTERSECT operator?

正確答案: B
說明:(僅 VCESoft 成員可見)
問題6
Which tasks can be performed using SQL functions that are built into Oracle database? (Choose three.)

正確答案: B,C,D
問題7
The PRODUCTS table has the following structure:

Evaluate the following two SQL statements:

Which statement is true regarding the outcome?

正確答案: C
說明:(僅 VCESoft 成員可見)
問題8
Examine the data in the CUST_NAME column of the CUSTOMERS table.
CUST_NAME
Lex De Haan
Renske Ladwig
Jose Manuel Urman
Jason Mallin
You want to extract only those customer names that have three names and display the * symbol in place of the
first name as follows:
CUST NAME
*** De Haan
**** Manuel Urman
Which two queries give the required output? (Choose two.)

正確答案: A,B
問題9
You need to display the date ll-oct-2007 in words as "Eleventh of October, Two Thousand Seven'. Which SQL statement would give the required result?

正確答案: C
問題10
You work as a database administrator at ABC.com. You study the exhibit carefully. Exhibit

Using the PROMOTIONS table, you need to display the names of all promos done after January 1, 2001 starting with the latest promo.
Which query would give the required result? (Choose all that apply.)

正確答案: A,B
問題11
Which SQL statement accepts user input for the columns to be displayed, the table name, and WHERE condition?

正確答案: C
說明:(僅 VCESoft 成員可見)
問題12
Examine the structure of the EMPLOYEES table:
EMPLOYEE_ID NUMBER Primary Key
FIRST_NAME VARCHAR2(25)
LAST_NAME VARCHAR2(25)
Which three statements insert a row into the table? (Choose three.)

正確答案: A,D,E
說明:(僅 VCESoft 成員可見)
問題13
View the Exhibit and examine the structure of ORDERS and CUSTOMERS tables.

There is only one customer with the CUST_LAST_NAME column having value Roberts. Which INSERT statement should be used to add a row into the ORDERS table for the customer whose CUST_LAST_NAME is Roberts and CREDIT_LIMIT is 600?

正確答案: C
問題14
View the Exhibit and examine the data in the PROJ_TASK_DETAILS table.

The PROJ_TASK_DETAILS table stores information about tasks involved in a project and the relation between them.
The BASED_ON column indicates dependencies between tasks. Some tasks do not depend on the completion of any other tasks.
You need to generate a report showing all task IDs, the corresponding task ID they are dependent on, and the name of the employee in charge of the task it depends on.
Which query would give the required result?

正確答案: C
問題15
Which object privileges can be granted on a view?

正確答案: D
說明:(僅 VCESoft 成員可見)