You are on page 1of 1

SQL Assignment

Q1 State True or False

(a) Duplication of data is known as Data Redundancy.


(b) An attribute is a set of values of a dissimilar type of data.
(c) MySQL supports different platforms like UNIX and Windows.
(d) UPDATE Table command is used to create table in a database.
(e) Null (unavailable and unknown) values are entered by the following command:
INSERT INTO TABLE_NAME VALUES (“NULL”);
(f) Alter TABLE command is used to modify the structure of the table.
(g) Each SQL table must have at least one column and one row.
(h) Foreign key column derives its value from the primary key of the parent table.
(i) Distinct clause is used to remove redundant rows from the result of the SELECT statement.
(j) It is not necessary to create primary key in a table

Q2 Multiple choice Questions

(a) The _______ allows you to perform tasks related to data definition.
(i) DDL (ii) DML (iii) TCL (iv) None of these
(b) The _____allows you to perform tasks related to data manipulation.
(i) DDL (ii) DML (iii) TCL (iv) None of these
(c) A ______ is a text that is not executed.
(i) Statement (ii) Query (iii) Comment (iv) Clause
(d) ______ are words that have special menaing in SQL.
(i) Keywords (ii)Literal (iii) Variable (iv) Table
(e) ________command helps to open the database for use.
(i) Use (ii) Open (iii)Distinct (iv) Select

You might also like