可学答题网 > 问答 > 1Z0-007题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You need to modify the STUDENTS table


You need to modify the STUDENTS table to add a primary key on the STUDENT_ID column. The table is currently empty.Which statement accomplishes this task?()

  • A ALTER TABLE students ADD PRIMARY KEY student_id;
  • B ALTER TABLE students ADD CONSTRAINT PRIMARY KEY (student _ id);
  • C ALTER TABLE students ADD CONSTRAINT stud _ id _pk PRIMARY KEY (student _ id);
  • D ALTER TABLE students MODIFY CONSTRAINT stud _ id _pk PRIMARY KEY (student _ id)
参考答案
参考解析:
分类:1Z0-007题库
相关推荐

1、You need to calculate the total of all

You need to calculate the total of all salaries in the accounting department. Which group function should you use? ()A MAXB MINC SUMD COUNTE TOTALF LARGEST

2、You need to display the last names of

You need to display the last names of those employees who have the letter "A" as the second character in their names. Which SQL statement di...

3、You need to dump the data from the ma

You need to dump the data from the master server and import it into a new slave server.Which mysqldump option can be used when dumping data...

4、You need to give the MANAGER role the

You need to give the MANAGER role the ability to select from, insert into, and modify existing rows in the STUDENT_GRADES table. Anyone given...

5、You need to document the following co

You need to document the following configurations of a server that runs Windows Server 2008 R2:System servicesStartup programsHardware configuratio...

6、You need to create a table named ORDE

You need to create a table named ORDERS that contain four columns:1. an ORDER_ID column of number data type2. aCUSTOMER_ID column of number da...