Given the following two tables:TAB1 C1 C21 Antarctica 2 Africa 3 Asia 4 Australia TAB2 CX CY5 Europe 6 North America 7 South AmericaWhich 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
第2题:
执行以下操作后,list_two的值是: list_one=[4,5,6] list_two=list_one list_one[2]=3
A.[4,5,6]
B.[4,3,6]
C.[4,5,3]
D.都不对
第3题:
4、下列选项中,不能创建字典对象的语句是()。
A.{'one':1, 'two':2, 'three':3}
B.dict('one':1, 'two':2, 'three':3)
C.dict([('one',1), ('two',2), ('three',3)])
D.dict(zip(['one','two','three'], [1,2,3]))
第4题:
下列选项中,不能创建字典对象的语句是()。
A.{'one':1, 'two':2, 'three':3}
B.dict('one':1, 'two':2, 'three':3)
C.dict([('one',1), ('two',2), ('three',3)])
D.dict(zip(['one','two','three'], [1,2,3]))
第5题:
下列数组定义中,错误的是
A.char a[3][10]={"China","American","Asia"};
B.int x[2][2]={1,2,3,4};
C.float x[2][ ]={1,2,4,6,8,10};
D.int m[][3]={1,2,3,4,5,6};