1) Here which of the following displays the unique values value of the column SELECT ------dep_name from instructor.

1 of
Published on Video
Go to video
Download PDF version
Download PDF version
Embed video
Share video
Ask about this video

Page 1 (0s)

1) Here which of the following displays the unique values value of the column SELECT dep_name from instructor..

Page 2 (10s)

2)which command is used to remove the table’CUSTOMER’? a)Delete the structure only b)Truncate c)Drop table customer d)Remove table customer (ANS C).

Page 3 (20s)

3)The DROP TABLE Statement a)Delete the table structure only b)Delete 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. (ANS B).

Page 4 (32s)

nd. 4) which is valid create TABLE statement? a)create table customer add(id number(3)); b)create table customer(id number(3)); c)create table customer modified (id number(3)); (ANS B).

Page 5 (43s)

5)which of the following are some common RDBMS in use? a)Oracle b)My Sql c)HeidiSql d)all of the above (ANS D).

Page 6 (52s)

6)what command is used to create a newtable in sql? a)CREATE TABLE b)BUILD TABLE c)GENERATE TABLE d)none of the above (ANS A).

Page 7 (1m 2s)

7)what does the following statement in sql do? a)Deletes a table called student b)Creates a table called student c)Check if these is a table called student d)None of the above (ANS A).

Page 8 (1m 13s)

8)which of the following are type of unicode character string types in sql? a)nchar b)ntext c)both a and b d)none of these (ANS C).

Page 9 (1m 23s)

9) It is mandatory to define constraint for each attribute of a table? a)True b)False (ANS B).

Page 10 (1m 31s)

10) which of the following datatype is most appropriate for storing a string of up to255? a)TEXT b)TINY TEXT c)BLOB d)BINARY (ANS B).

Page 11 (1m 41s)

11)what happens when no values is inserted in an ENUM list? a)Nothing happens b)The code will crash c)A blank value is inserted in that case d)None of the above (ANS C).

Page 12 (1m 52s)

12)Which of the following command is used to delete all rows and freeup space from table? a)TRUNCATE b)DROPS c)DELETE d)ALTER (ANS A).

Page 13 (2m 2s)

alue. 13) which sql constraint do we use to set some values to a field whose value has not been added explicity? a)unique b)NotNil c)Default d)Check (ANS C).

Page 14 (2m 13s)

14)During transaction before commit which of the following statement is done automatically incase of shutdown? a)Rollback b)Commit c)View d)Flashback (ANS A).

Page 15 (2m 23s)

15)which of the following allows you to unique key indentify a tuple? a)schema b)attribute c)superkey d)domain (ANS C).

Page 16 (2m 32s)

16)Each table can contain more than one primary key? a)True b)False (ANS B).

Page 17 (2m 40s)

17)To select some particular columns which of the following commands is used? a)PROJECTION b)SELECTION c)JOIN d)UNION (ANS A).

Page 18 (2m 49s)

18)primary key can be? a)NULL b)NOTNULL c)Both a and b d)Depends on the sutivation (ANS B).

Page 19 (2m 57s)

19)unique constraints ensure that all the values in a column are distinct/unique? a)true b)false (ANS A).

Page 20 (3m 6s)

20)select the valid SQL type? a)Numeric b)Character c)Float d)All of the above (ANS D).

Page 21 (3m 14s)

21)NATURAL join can also be termed as? a)combination of union and cartesion product b)combination of intersection and cartesian product c)combination of projection and cartesian product d)none of the above (ANS C).

Page 22 (3m 25s)

22)How can view all the trigger currently in the database? a)Show b)view c)read d)none of the above (ANS A).

Page 23 (3m 35s)

23)Select the correct foreign key constraint? a)Referential integrity b)Entity integrity c)Domain integrity d)None of these (ANS A).

Page 24 (3m 43s)

24)A Null value is treated as a blank or zero? a)true b)false (ANS B).

Page 25 (3m 51s)

25)Sql view also known as? a)schema b)virtual table c)instance d)none of the above (ANS B).