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

Examine the structure of the TRANSACTIONS table:
Name Null Type
TRANS_ID NOT NULL NUMBER(3)
CUST_NAME VARCHAR2(30)
TRANS_DATE DATE
TRANS_AMT NUMBER(10,2)
You want to display the transaction date and specify whether it is a weekday or weekend.
Evaluate the following two queries:

Which statement is true regarding the above queries?

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

What would be the outcome of the above query?

解説: (GoShiken メンバーにのみ表示されます)
Which three SQL statements would display the value 1890.55 as $1,890.55? (Choose three.)

正解:B,C,D 解答を投票する
Which two statements complete a transaction? (Choose two)

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

解説: (GoShiken メンバーにのみ表示されます)
View the Exhibit and examine the structure of ORDERS and CUSTOMERS tables. There is only one customer with the cus_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?

View the Exhibit and examine the structure of the EMPLOYEES table.

Examine the data in the ENAME and HIREDATE columns of the EMPLOYEES table: ENAME HIREDATE
SMITH 17-DEC-80 ALLEN 20-FEB-81 WARD 22-FEB-81
You want to generate a list of user IDs as follows:
USERID
Smi17DEC80
All20FEB81
War22FEB81
You issue the following query:
SQL>SELECT CONCAT(SUBSTR(INITCAP(ename),1,3), REPLACE(hiredate,'-')) "USERID"
FROM employees;
What is the outcome?

解説: (GoShiken メンバーにのみ表示されます)
View the Exhibit and examine the structure of the PROMOTIONS table.
Using the PROMOTIONS table, you need to find out the names and cost of all the promos done on 'TV' and 'internet' that ended in the time interval 15th March '00 to 15th October '00. Which two queries would give the required result? (Choose two.)

Which two statements are true regarding single row functions? (Choose two.)

解説: (GoShiken メンバーにのみ表示されます)
The PRODUCTS table has these columns:
PRODUCT_ID NUMBER(4)
PRODUCT_NAME VARCHAR2(45)
PRICE NUMBER(8,2)
Evaluate this SQL statement:
SELECT *
FROM PRODUCTS
ORDER BY price, product_name;
What is true about the SQL statement?

解説: (GoShiken メンバーにのみ表示されます)
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?

解説: (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?