Given the following two tables:

题目

Given the following two tables: TAB1 C1 C2 1 Antarctica 2 Africa 3 Asia 4 Australia TAB2 CX CY 5 Europe 6 North America 7 South America Which of the following SQL statements will insert all rows found in table TAB2 into table TAB1?()

  • A、INSERT INTO tab1 SELECT cx, cy FROM tab2
  • B、INSERT INTO tab1 VALUES (tab2.cx, tab2.cy)
  • C、INSERT INTO tab1 VALUES (SELECT cx, cy FROM tab2)
  • D、INSERT INTO tab1 (c1, c2) VALUES (SELECT cx, cy FROM tab2)
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Given the following tables: CONTINENTS ID NAME COUNTRIES1 Antarctica 02 Africa 533 Asia 474 Australia 145 Europe 436 North America 237 South America 12REGION ID LOCATION 1 East 2 WestHow many rows would be returned using the following statement? SELECT location FROM continents, region()

A.2

B.7

C.9

D.14


参考答案:D

第2题:

The datum from which the predicted heights of tides are reckoned in the tide tables is ______.

A.mean low water

B.the same as that used for the charts of the locality

C.the highest possible level

D.given in table three of the tide tables


正确答案:B

第3题:

What is true about joining tables through an equijoin? ()

A. You can join a maximum of two tables through an equijoin.

B. You can join a maximum of two columns through an equijoin.

C. You specify an equijoin condition in the SELECT or FROM clauses of a SELECT statement.

D. To join two tables through an equijoin, the columns in the join condition must be primary key and foreign key columns.

E. You can join n tables (all having single column primary keys) in a SQL statement by specifying a minimum of n-1 join conditions.


参考答案:E

第4题:

Which of the following RAID levels would be appropriate given two drives and a need for fault tolerance?()

  • A、RAID 0
  • B、RAID 1
  • C、RAID 5
  • D、RAID 10

正确答案:B

第5题:

What are two reasons to create synonyms?()

  • A、You have too many tables.
  • B、Your tables are too long.
  • C、Your tables have difficult names.
  • D、You want to work on your own tables.
  • E、You want to use another schema's tables.
  • F、You have too many columns in your tables.

正确答案:B,C

第6题:

In which of the following situations should correlation names be used?()

A.A table referenced in the FROM clause has no indexed column.

B.The table referenced in the FROM clause has more than 200 columns.

C.Two or more tables in the FROM clause have identical column names.

D.The FROM clause contains two or more tables in the SELECT statement.


参考答案:C

第7题:

In which of the following situations should correlation names be used?()

  • A、A table referenced in the FROM clause has no indexed column.
  • B、The table referenced in the FROM clause has more than 200 columns.
  • C、Two or more tables in the FROM clause have identical column names.
  • D、The FROM clause contains two or more tables in the SELECT statement.

正确答案:C

第8题:

Given the following two AS path regular expressions: "65000+ (65001|65002)" "65000(65001|65002){0,}" Which AS path matches both regular expressions?()

A. 65000 65001 65002

B. 65000 65002

C. 65001 65000

D. 65001 65002


参考答案:B

第9题:

Given that Thing is a class, how many objects and reference variables are created by the following code?()   Thing item, stuff;   item = new Thing();   Thing entity = new Thing();

  • A、One object is created
  • B、Two objects are created
  • C、Three objects are created
  • D、One reference variable is created
  • E、Two reference variables are created
  • F、Three reference variables are created.

正确答案:B,F

第10题:

Given the following tables: CONTINENTS ID NAME COUNTRIES 1 Antarctica 0 2 Africa 53 3 Asia 47 4 Australia 14 5 Europe 43 6 North America 23 7 South America 12 REGION ID LOCATION 1 East 2 West How many rows would be returned using the following statement? SELECT location FROM continents, region()

  • A、2
  • B、7
  • C、9
  • D、14

正确答案:D

更多相关问题