Sie sind auf Seite 1von 3

Assignment - In progress

Database concepts-Assignment 1 Title Oct 31, 2012 11:55 pm Due Not Started Status Points (max 10.0) Grade Scale Modified by instructor Sep 6, 2012 12:09 pm Instructions Please answer the given questions. Question 1: Provide the create table syntax to Create a Table Employee whose details are as below. Employee(EmployeeID, LastName, FirstName, Address, DateHired) Question 2: Provide the INSERT query to be used in Employee Table to fill the Details. Question 3: When we give SELECT * FROM EMPLOYEE .How does it Respond? Question 4: Create a Table CLIENT whose details are as below. Client(ClientID, LastName, FirstName, Balance, EmployeeID) Question 5: Provide the INSERT query to be used in CLIENT Table to fill the Details. Question 6: When we give SELECT * FROM CLIENT .How does it Respond? Question 7: Choose the correct answer. The SQL command to create a table is: a. Make Table b. Alter Table c. Define Table d. Create Table Question 8: Choose the correct answer. The DROP TABLE statement: a. deletes the table structure only b. deletes the table structure along with the table data

c. works whether or not referential integrity constraints would be violated d. is not an SQL statement Question 9: What are the different data types available in SQL server? Question 10: Which is the subset of SQL commands used to manipulate Oracle Database structures, includingtables?

Question 11: What operator performs pattern matching?

Question 12: What operator tests column for the absence of data?

Question 13: Which command executes the contents of a specified file?

Question 14: What is the parameter substitution symbol used with INSERT INTO command?

Question 15: Which command displays the SQL command in the SQL buffer, and then executes it?

Question 16: What are the wildcards used for pattern matching?

Question 17: State whether true or false. EXISTS, SOME, ANY are operators in SQL.

Question 18: State whether true or false. !=, <>, ^= all denote the same operation.

Question 19: What are the privileges that can be granted on a table by a user to others?

Question 20: What command is used to get back the privileges offered by the GRANT command?

Question 21: Which system tables contain information on privileges granted and privileges obtained?

Question 22: Which system table contains information on constraints on all the tables created?

Question 23: What is the difference between TRUNCATE and DELETE commands?

Question 24: What command is used to create a table by copying the structure of another table?

Submission
Choose File: Don't forget to save or submit

Das könnte Ihnen auch gefallen