请个位大虾帮帮我,看看这些题答案应该是什么,小弟感激不尽

[复制链接]
查看11 | 回复0 | 2006-9-17 20:59:00 | 显示全部楼层 |阅读模式
QUESTION NO: 2 Examine the structure of the EMPLOYEES table:
EMPLOYEE_IDNUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25)
Which three statements inserts a row into the table? (Choose three)
A. INSERT INTO employees VALUES ( NULL, ‘John’,‘Smith’);
B. INSERT INTO employees( first_name, last_name) VALUES(‘John’,‘Smith’);
C. INSERT INTO employees VALUES (‘1000’,‘John’,NULL);
D. INSERT INTO employees(first_name,last_name, employee_id) VALUES ( 1000, ‘John’,‘Smith’);
E.
INSERT INTO employees (employee_id)
VALUES (1000);
F.
INSERT INTO employees (employee_id, first_name, last_name)
VALUES ( 1000, ‘John’,‘’);

You added a PHONE_NUMBER column of NUMBER data type to an existing EMPLOYEES table. The EMPLOYEES table already contains records of 100 employees. Now, you want to enter the phone numbers of each of the 100 employees into the table. Some of the employees may not have a phone number available. Which data manipulation operation do you perform?
A. MERGE
B. INSERT
C. UPDATE
D. ADD
E. ENTER
F. You cannot enter the phone numbers for the existing employee records.
In which case would you use a FULL OUTER JOIN?
A. Both tables have NULL values.
B. You want all unmatched data from one table.
C. You want all matched data from both tables.
D. You want all unmatched data from both tables.
E. One of the tables has more data than the other.
F.
You want all matched and unmatched data from only one table.

Which two statements about subqueries are true? (Choose two.)
A. A single row subquery can retrieve data from only one table.
B. A SQL query statement cannot display data from table B that is referred to in its subquery, unless table B is included in the main query's FROM clause.
C. A SQL query statement can display data from table B that is referred to in its subquery, without including table B in its own FROM clause.
D. A single row subquery can retrieve data from more than one table.
E. A single row subquery cannot be used in a condition where the LIKE operator is used for comparison.
F.
A multiple-row subquery cannot be used in a condition where the LIKE operator is used for comparison.
e functions only in the column list of the SELECT clause and in the WHERE clause of a SELECT statement.
C. You can mix single row columns with aggregate functions in the column list of a SELECT statement by grouping on the single row columns.
D. You can pass column names, expressions, constants, or functions as parameters to an aggregate function.
E. You can use aggregate functions on a table, only by grouping the whole table as one single group.
F.
You cannot group the rows of a table by more than one column while using aggregate functions.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行