Professional Documents
Culture Documents
Summer Holiday Homework Subject-Ip GRADE-11 Q1. Fill in The Blanks
Summer Holiday Homework Subject-Ip GRADE-11 Q1. Fill in The Blanks
SUBJECT- IP
GRADE-11
Note:
This is the assignment that is based on Unit-4’Database Concepts and SQL’.
Students have to do holidays homework in IP notebook.
Q1. Fill in the blanks:
1. Repetition of data in a database is called data _______.
2. A group of column working as a primary key is called _________ key.
3. To remove duplicate rows from the result of a query, specify the SQL qualifier ________ in
select list.
4. Columns can be sorted in descending sequence by using the SQL keyword_________.
5. ________ command removes all tables, indexes, and constraint from the database.
Q2. State True/False:
1. In an Alter statement, Modify clause is used to look for a certain pattern in a column.
2. By default, the ORDER BY clause sorts the data in ascending order.
3. The keyword LIKE can be used in a WHERE clause to refer to a range of values.
4. ORDER BY can be combined with the SELECT statements.
5. The two wildcards, % and _, are used with the LIKE operator.
Q3: Answer the following questions:
1. Explain the role of the LIKE operator in SQL.
2. Write the use of the DELETE and DROP commands.
3. What is the purpose of the following clauses in a select statement?
a. ORDER BY b. WHERE Clause
4. Differentiate between the following commands:
a. ALTER and UPDATE b. DELETE and DROP
Q4: Activity Time:
1. Write the queries of the following on the basis of given table:
Table: FACULTY
F_id Fname Fsal DOJ
3. A table ‘EMP’ is already created in a database and few records are entered in the table. The
datails of the table are shown below:
EmpCode Name Dept Salary Phnum