deptno CHAR(3) NOT NULL
deptname CHAR(20) NOT NULL
mgrno CHAR(6)
admrdept CHAR(3)
location CHAR(20) NOT NULL
Which of the following will select the rows that do not have a value in the MGRNO column?
A. SELECT * FROM department WHERE mgrno = ' '
B. SELECT * FROM department WHERE mgrno = NULL
C. SELECT * FROM department WHERE mgrno IS NULL
D. SELECT * FROM department WHERE mgrno IS UNKNOWN
D 17. Given the following SQL statement:
GRANT REFERENCES ON TABLE tab1 TO USER usera
Which of the following describes what USERA is allowed to do?
A. Create a read-only view using TAB1.
B. Alter TAB1 to add a check constraint.
C. Define a primary key or unique constraint on TAB1.
D. Define a dependent table where TAB1 is the parent.
A 18. Given the following DDL statement:
CREATE TABLE newtab1 LIKE tab1
Which of the following would occur as a result of the statement execution?
A. NEWTAB1 would have the same column names and attributes as TAB1
B. NEWTAB1 would have the same column names, attributes, and data as TAB1
C. NEWTAB1 would have the same column names, attributes, indexes, and constraints as TAB1
D. NEWTAB1 would have the same column names, attributes, and referential integrity as TAB1
C 19. Which of the following tools is used to create subscription sets and add subscription-set members to subscription sets?
A. Journal
B. License Center
C. Replication Center
D. Development Center
B 20. Table T1 should only allow values of 1, 2, and 3 in column C1. Which of the following will cause the database manager to enforce this business requirement?
会员注册
会员登录
个人空间