A: Define the new column as NUL
B: Update the FriendlyName column to the same valueas the productName column. Alter the FriendlyName column to be NOT NUL
C:
D: Define the new column as NOT NULL with a default value of ’Undefined.’
E: Define the new column as NUL
F: Use application logic to enforce the data constraint.
G: Define the new column as NULL with a default value of ’Undefined.’
举一反三
- 14 In triple sequence table of sparse matrix, each triple represents ( ). A: the row number,column number and data value of non-zero elements in the matrix B: the data value of non-zero elements in the matrix C: the row and column numbers of elements in the matrix D: the row number,column number and data value of elements in the matrix
- 以下语句错误的是( ) A: alter table emp delete column addcolumn; B: alter table emp modify column addcolumn char(10); C: alter table emp change addcolumn addcolumn int; D: alter table emp add column addcolumn int;
- SQL中向基本表增加字段的语句为 A: INSERT INTO B: UPDATE COLUMN C: AIJTER TABLE ADD D: MODIFY COLUMN ADD
- In a spreadsheet, a cell is defined as the A: intersection of a table and a row B: intersection of a table and a column C: intersection of a row and column D: intersection of a column and a record
- 为表Reader删除邮件地址email( )。 A: DROP COLUMN E-mail B: use table Reader DROP COLUMN E-mail C: ALTER TABLE Reader DROP COLUMN E-mail D: 其余选项全错
内容
- 0
用下面的语句创建了Student表:CREATE TABLE Student(Sno CHAR(10) primary key,Sname VARCHAR(10),age SMALLINT,Cname VARCHAR(20) );请用ALTER TABLE语句设置age字段默认值为20,正确的语句是()。 A: ALTER TABLE Student ALTER COLUMN age SET DEFAULT 20; B: ALTER TABLE Student CHANGE COLUMN age SET DEFAULT 20; C: ALTER TABLE Student ADD COLUMN age SET DEFAULT 20; D: ALTER TABLE Student DROP COLUMN age SET DEFAULT 20;
- 1
Macth each word in column A with its definition in column B
- 2
Match each word in Column A with the correct definition in Column B.
- 3
Among the following conclusions about the critical stress σcr of the compressive column, the correct one is ( ). A: The σcr value of the long column is independent of the material B: The σcr value of the intermediate column is independent of the flexibility C: The σcr value of the intermediate column is independent of the material D: The σcr value of the small flexibility column is independent of the flexibility
- 4
Among the following conclusions about the critical stress σcr of the compressive column, the correct one is ( ) A: The σcr value of the long column is independent of the material B: The σcr value of the intermediate column is independent of the flexibility C: The σcr value of the intermediate column is independent of the materia D: The σcr value of the small flexibility column is independent of the flexibility