首页/ 题库 / [单选题]You need to modify t的答案

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?()

单选题
2022-07-12 01:54
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 ADD CONSTRAINT stud_id_pk PRIMARY KEY (student_id);
E、ALTER TABLE students MODIFY CONSTRAINT stud_id_pk PRIMARY KEY (student_id)
查看答案

正确答案
D

试题解析

标签: 1Z0-007
感兴趣题目
You are the administrator of a new multiprocessor SQL Server 2000 computer. You are migrating data from other database management systems to this server. You need to load data from two data files into a new table on the server. The table is empty and has no indexes.
You modify an existing Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You add a theme to the ASP.NET application.  You need to apply the theme to override any settings of individual controls.  What should you do? ()
You have a customized image of Windows 7 Professional. You mount the image and modify the contents ofthe image. You need to restore the image to its original state.  Which tool should you use?()
 The IT department is creating a human resources application that will require several new tables. You need to develop a standard alone executable that will defines these tables and their relationships. Which developer/2000 component could you use to create the executable?()
You need to change the definition of an existing table. The COMMERCIALS table needs its DESCRIPTION column changed to hold varying length characters up to 2000 bytes. The column can currently hold 1000 bytes per value. The table contains 20000 rows. Which statement is valid?()
You need to change the definition of an existing table. The COMMERCIALS table needs its DESCRIPTION column changed to hold varying length characters up to 1000 bytes. The column can currently hold 500 bytes per value. The table contains 20000 rows. Which statement is valid?()
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?()
You are the network administrator at TestKing. You need to perform password recovery on Router TK1. What must you modify in the password recovery process?()
You use Microsof t Application Virtualization (App - V). You need to automate the process of sequencing applications . Which command should you run?()
You need to change the definition of an existing table. The COMMERCIALS table needs its DESCRIPTION column changed to hold varying length characters up to 2000 bytes. The column can currently hold 1000 bytes per value. The table contains 20000 rows. Which statement is valid?()

You need to design a student registration database that contains several tables storing academic information.
The STUDENTS table stores information about a student. The STUDENT_GRADES table stores
information about the student's grades. Both of the tables have a column named STUDENT_ID. The STUDENT_ID column in the STUDENTS table is a primary key.
You need to create a foreign key on the STUDENT_ID column of the STUDENT_GRADES table that
points to the STUDENT_ID column of the STUDENTS table. Which statement creates the foreign key?()

Examine the structure of the STUDENTS table:

You need to create a report of the 10 students who achieved the highest ranking in the course INT SQL and who completed the course in the year 1999.Which SQL statement accomplishes this task?()

相关题目
●In order to improve the performance of a network server,you need to select bus or local bus.The appropriate local bus is (69) .
●In order to improve the performance of a network server,you need to select bus or local bus.The appropriate local bus is (69) .
Many university courses are not really _ _ to the needs of students or their future employers.
You need to determine if you are going to the sports meet tomorrow
You also need to consider the equipment needs of the meeting
How many points you need to mention if you plan to describe things or places
【单选】You need to _the empoyers that you can do the job
()doesn’t need to change package of goods or to stop in any place between the origin and destination point.
You need to create a view EMP_VU. The view should allow the users to manipulate the records of only the employees that are working for departments 10 or 20. Which SQL statement would you use to create the view EMP_VU? ()
Either you or the headmaster()the prizes to those gifted students at the meeting

Before a Flashback Table operation, you execute the following command:
ALTER TABLE employees ENABLE ROW MOVEMENT;
Why would you need this to be executed?()

Either you or one of your students ______ to attend the meeting that is due tomorrow.
II.完型填空(共20分)Getting to places can sometimes be difficult,especially(特别) when you are going to a place for the (11) time.In big cities,many people take buses,trains or subways to get from (12 ) to another. Bu-ses are a popular (13) af transportation.lf you are using a bus,you need to know(14 ) bus to take and where you can get on. You (15) need to be able to(能够)read the timetable right, so you can take the right bus and (16 ) your place on time. At last,you need to know (17) to get off and (18 ) the driver the name of the station.In the countryside,transportation can be much simple.In some places,people get to school or work (19) boat.Some children ride in long boats on the river to get to school.In (20) places,students walk to school.( )11.

You discover that your Recycle Bin contains two tables with the same name, MY_TABLE. You also have a table named MY_TABLE in your schema.You execute the following statement:
FLASHBACK TABLE my_table TO BEFORE DROP RENAME TO my_table2;
What will be the result of executing this statement?()

You are working in an online transaction processing (OLTP) environment. You use the FLASHBACKTABLE command to flash back the CUSTOMERS table. Before executing the FLASHBACK TABLE command, the system change number (SCN) was 663571. After flashing back the CUSTOMERS table, you realize that the table is not in the correct state. Now, you need to reverse the effects of the FLASHBACK TABLE command.
Which is the fastest and the most efficient option to reverse the effects of the FLASHBACK TABLE command?()

A user needs to create a trigger that will update table T2 whenever a row is added to table T1. Assuming the user has all appropriate privileges for table T2, which privilege is required on table T1 to create the trigger?()
You are working in an online transaction processing (OLTP) environment. You use the FLASHBACKTABLE command to flash back the CUSTOMERS table. Before executing the FLASHBACK TABLE command, the system change number (SCN) was 663571. After flashing back the CUSTOMERS table, you realize that the table is not in the correct state. Now, you need to reverse the effects of the FLASHBACK TABLE command. Which is the fastest and the most efficient option to reverse the effects of the FLASHBACK TABLE command?()
You are working in an online transaction processing (OLTP) environment. You use the FLASHBACKTABLE command to flash back the CUSTOMERS table. Before executing the FLASHBACK TABLE command, the system change number (SCN) was 663571. After flashing back the CUSTOMERS table, you realize that the table is not in the correct state. Now, you need to reverse the effects of the FLASHBACK TABLE command. Which is the fastest and the most efficient option to reverse the effects of the FLASHBACK TABLE command?()
()doesn’t need to change package of goods or to stop in any place between the origin and destination
()doesn’t need to change package of goods or to stop in any place between the origin and the destination point.
广告位招租WX:84302438

免费的网站请分享给朋友吧