Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / Сертификация и обучение [игнор отключен] [закрыт для гостей] / снова TestKing 1z0-007 / 12 сообщений из 12, страница 1 из 1
26.12.2006, 04:08:03
    #34223938
s u
s u
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
снова TestKing 1z0-007
Oracle.TestKing.1z0-007.v14.0.199q.pdf
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
QUESTION NO:  56 
From SQL*Plus, you issue this SELECT statement:
SELECT*
From orders;
You use this statement to retrieve data from a data table for __________. (Choose all
that apply)
A. Updating
B. Viewing
C. Deleting
D. Inserting
E. Truncating
Answer: B, D
Explanation:
You can use SELECT statement to display and to insert data into different table.
Incorrect Answers
A: You cannot update data with SELECT statement. Update command is used for this
purpose.
C: You cannot delete data with SELECT statement. Delete command is used for this purpose.
E: You cannot truncate data with SELECT statement. Truncate command is used for this
purpose.


а разве для Updating и Deleting не может использоваться SELECT * FROM table ? по моему прекрасно может
...
Рейтинг: 0 / 0
26.12.2006, 08:56:48
    #34224116
scna
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
снова TestKing 1z0-007
Продолжайте готовиться по testking! Успех на экзамене гарантирован! :)
...
Рейтинг: 0 / 0
26.12.2006, 20:36:01
    #34226266
s u
s u
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
снова TestKing 1z0-007
scnaПродолжайте готовиться по testking! Успех на экзамене гарантирован! :)

я так понимаю что testking "не отличается умом и сообразительностью" (с) =)
...
Рейтинг: 0 / 0
27.12.2006, 06:42:42
    #34226597
s u
s u
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
снова TestKing 1z0-007
и опять лажа

Oracle.TestKing.1z0-007.v14.0.199q.pdf
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
QUESTION NO:  99 

Which three are true regarding the use of outer joins? (Choose three.)

A. You cannot use IN operator in a condition that involves an outerjoin.
B. You use (+) on both sides of the WHERE condition to perform an outerjoin.
C. You use (*) on both sides of the WHERE condition to perform an outerjoin.
D. You use an outerjoin to see only the rows that do not meet the join condition.
E. In the WHERE condition, you use (+) following the name of the column in the table
without matching rows, to perform an outerjoin.
F. You cannot link a condition that is involved in an outerjoin to another condition by
using the OR operator.

Answer: D, E, F

Explanation:
You can use an outerjoin to see only the rows that do not meet the join condition. In the
WHERE condition, you use (+) following the name of the column in the table without
matching rows, to perform an outerjoin. You cannot link a condition that is involved in an
outerjoin to another condition by using the OR operator.

Incorrect Answers
A: You can use IN operator in a condition that involves an outerjoin.
B: You use (+) following the name of the column in the table without matching rows, but not
on both sides of the WHERE condition to perform an outerjoin.
C: You don’t use (*) to define outerjoin operation.


по поводу ответа А претензии, при этом что

Introduction to Oracle9i: SQL 4-18Outer Join Restrictions
• The outer join operator can appear on only one side of the expression—the side that has
information missing. It returns those rows from one table that have no direct match in the other
table.
• A condition involving an outer join cannot use the IN operator or be linked to another condition
by the OR operator.
...
Рейтинг: 0 / 0
28.12.2006, 03:41:22
    #34229338
s u
s u
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
снова TestKing 1z0-007
как вам это нравица


Oracle.TestKing.1z0-007.v14.0.199q.pdf
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
QUESTION NO:  134 

You need to create a table named ORDERS that contains four columns:
 1 . an ORDER_ID column of number data type
 2 .- a CUSTOMER_ID column of number data type
 3 . an ORDER_STATUS column that contains a character data type
 4 . a DATE_ORDERED column to contain the date the order was placed

When a row is inserted into the table, if no value is provided for the status of the order,
the value PENDING should be used instead.

Which statement accomplishes this?

A. CREATE TABLE orders (
order_id NUMBER( 10 ),
customer_id NUMBER ( 8 ),
order_status VARCHAR2 ( 10 ),
date_ordered DATE = SYSDATE);

B. CREATE TABLE orders (
order_id NUMBER ( 10 ),
customer_id NUMBER ( 8 ),
order_status VARCHAR2 ( 10 ),
date_ordered DATE DEFAULT SYSDATE)

C. CREATE OR REPLACE TABLE orders (
order_id NUMBER ( 10 ),
customer_id NUMBER ( 8 ),
order_status VARCHAR2 ( 10 ),
date_ordered DATE = SYSDATE);

D. CREATE TABLE orders (
order_id NUMBER ( 10 ),
customer_id NUMBER ( 8 )
order_status NUMBER ( 10 ),
date_ordered DATE DEFAULT SYSDATE);

Answer: B
...
Рейтинг: 0 / 0
28.12.2006, 04:28:14
    #34229346
s u
s u
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
снова TestKing 1z0-007
а так...


Oracle.TestKing.1z0-007.v14.0.199q.pdf
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
QUESTION NO:  144 

In which four clauses can a subquery be used? (Choose four.)

A. in the INTO clause of an INSERT statement
B. in the FROM clause of a SELECT statement
C. in the GROUP BY clause of a SELECT statement
D. in the WHERE clause of a SELECT statement
E. in the SET clause of an UPDATE statement
F. in the VALUES clause of an INSERT statement

Answer: B, D, E, F

Explanation : subquery can be use in the FROM clause of a SELECT statement,
in the WHERE clause of a SELECT statement, in the SET clauses of an UPDATE statement,
in the VALUES clause of an INSERT statement.

Incorrect answer :
A subquery cannot be used
C subquery cannot be used


при этом

Introduction to Oracle9i: SQL 8-23Using a Subquery in an INSERT Statement
You can use a subquery in place of the table name in the INTO clause of the INSERT statement.
The select list of this subquery must have the same number of columns as the column list of the
VALUES clause. Any rules on the columns of the base table must be followed in order for the
INSERT statement to work successfully. For example, you could not put in a duplicate employee ID,
nor leave out a value for a mandatory not null column.


ай ай ай... как не стыдно
...
Рейтинг: 0 / 0
28.12.2006, 05:38:55
    #34229357
s u
s u
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
снова TestKing 1z0-007
так правду говорят, что на экзамене очень много вопросов с TestKing совпадает?


Oracle.TestKing.1z0-007.v14.0.199q.pdf
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
QUESTION NO:  170 
Evaluate the SQL statement:

TRUNCATE TABLE DEPT;

Which three are true about the SQL statement? (Choose three.)

A. It releases the storage space used by the table.
B. It does not release the storage space used by the table.
C. You can roll back the deletion of rows after the statement executes.
D. You can NOT roll back the deletion of rows after the statement executes.
E. An attempt to use DESCRIBE on the DEPT table after the TRUNCATE statement
executes will display an error.
F. You must be the owner of the table or have DELETE ANY TABLE system privileges to
truncate the DEPT table

Answer: B, D, F

Explanation : does not release the storage space used by the table,
Can not rollback the deletion of rows after the statement executes,
You must be the owner of the table or have DELETE ANY TABLE
system privilege to truncate the DEPT table.

Incorrect answer :
A is not true
C is not true
E is not true


однако

Introduction to Oracle9i: SQL 9-31The TRUNCATE TABLE statement:
– Removes all rows from a table
– Releases the storage space used by that table
...
Рейтинг: 0 / 0
28.12.2006, 11:01:43
    #34229801
Castor
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
снова TestKing 1z0-007
s uтак правду говорят, что на экзамене очень много вопросов с TestKing совпадает?
Вопросов да, но ответы должны все-таки быть без ошибок. Хотя гарантии наверное нет.
...
Рейтинг: 0 / 0
29.12.2006, 15:14:13
    #34232931
SQL*Plus
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
снова TestKing 1z0-007
s u Oracle.TestKing.1z0-007.v14.0.199q.pdf
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
QUESTION NO:  56 
From SQL*Plus, you issue this SELECT statement:
SELECT*
From orders;
You use this statement to retrieve data from a data table for __________. (Choose all
that apply)
A. Updating
B. Viewing
C. Deleting
D. Inserting
E. Truncating
Answer: B, D
Explanation:
You can use SELECT statement to display and to insert data into different table.
Incorrect Answers
A: You cannot update data with SELECT statement. Update command is used for this
purpose.
C: You cannot delete data with SELECT statement. Delete command is used for this purpose.
E: You cannot truncate data with SELECT statement. Truncate command is used for this
purpose.

а разве для Updating и Deleting не может использоваться SELECT * FROM table ? по моему прекрасно может
Правильный ответ один: В . Viewing
...
Рейтинг: 0 / 0
30.12.2006, 06:10:58
    #34233583
s u
s u
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
снова TestKing 1z0-007
SQL*Plus
Правильный ответ один: В . Viewing

а как же тогда вот так получается

Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
SQL> select * from v$version;

BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release  10 . 2 . 0 . 1 . 0  - Prod
PL/SQL Release  10 . 2 . 0 . 1 . 0  - Production
CORE     10 . 2 . 0 . 1 . 0       Production
TNS for  32 -bit Windows: Version  10 . 2 . 0 . 1 . 0  - Production
NLSRTL Version  10 . 2 . 0 . 1 . 0  - Production

SQL> desc aaa;
 Name                                      Null?    Type
 ----------------------------------------- -------- ------------------
 A                                                  VARCHAR2( 5 )
 B                                                  NUMBER( 5 )
 C                                                  NUMBER( 7 , 2 )

SQL> select * from aaa;

no rows selected

SQL> insert into (select * from aaa)
   2   values ('test',  1 ,  2 . 3 )
   3   ;

 1  row created.

SQL> select * from aaa;

A              B          C
----- ---------- ----------
test            1          2 . 3 

SQL> 
SQL> update (select * from aaa)
   2   set c =  10 ;

 1  row updated.

SQL> 
SQL> select * from aaa;

A              B          C
----- ---------- ----------
test            1           10 

SQL> 
SQL> delete (select * from aaa);

 1  row deleted.

SQL> 
SQL> select * from aaa;

no rows selected

...
Рейтинг: 0 / 0
30.12.2006, 23:09:17
    #34233979
s u
s u
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
снова TestKing 1z0-007
SQL*Plus
Правильный ответ один: В . Viewing

Хотя согласен... вопрос не однозначен
...
Рейтинг: 0 / 0
09.01.2007, 11:52:35
    #34242370
SQL*Plus
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
снова TestKing 1z0-007
s u SQL*Plus Правильный ответ один: В . ViewingХотя согласен... вопрос не однозначен
Вполне однозначен:
Код: plaintext
1.
2.
From SQL*Plus, you issue this SELECT statement:
SELECT * From orders;
You use this statement to retrieve data from a data table for __________.
Приведена выполненная команда. Куда еще однозначнее...
...
Рейтинг: 0 / 0
Форумы / Сертификация и обучение [игнор отключен] [закрыт для гостей] / снова TestKing 1z0-007 / 12 сообщений из 12, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]