And, given the statement
SELECT cities, name FROM country
Which of the following clauses must be added to the statement for it to return rows sorted by NAME and the sorted by CITIES?
A. ORDER BY 2, 1
B. GROUP BY 2, 1
C. ORDER BY 1, 2
D. GROUP BY 1, 2
A 38. An application is bound with uncommitted read isolation level it issues a request that retrieves 20 rows out of 200000 in the table, which of the following describes the rows that are locked as a result of this request?
A. None of the rows are locked
B. The retrieved rows are locked
C. The last row of the result set is locked
D. The rows not previously updated by another application are locked
A 39. A user wishes to store a numeric with a maximum value of 100,000 which data type will allow the user to store these values while using the least amount of storage?
A. BIGINT
B. INTEGER
C. IDENTITY
D. SMALLINT
BC 40. Which two of the following can be done using the ALTER TABLE statement?
A. define a trigger
B. define a primary key
C. add a check constraint
D. add a non-unique index
E. change a column’s name
D 41. Given the following information:
Create table tab4 (c1 char(4), c2 integer)
Insert into tab4 values (‘123’,345)
Update tab4 set (c1,c2)=(‘null’,0)
What will be the result of the following statement if issued in the Command Line Processor?
Select *from tab4
A. c1 c2
--- ------
- 0
1 record (s) selected
B. C1 C2
----- -------
会员注册
会员登录
个人空间