Model Private School, Abu Dhabi: Name: - Class & Div.: - Roll No.
Model Private School, Abu Dhabi: Name: - Class & Div.: - Roll No.
1. _____________is the software that provides an interface between a user and a database.
3. A _________ key is a column that will have a unique value for each entity.
5. ____________ commands are used to define the structure of the database or schema.
9. The___________ constraint in MySQL does not allow you to insert a duplicate value in a column.
10. In Mysql ____________ constraint allows to specify that a column can not contain any NULL value.
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
List the CRUD operations.
2.
……………………………………………………………………………………………………..
………………………………………………………………………………………………………
………………………………………………………………………………………………………
Differentiate between the primary key and foreign key in a relation.
3.
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
Consider the table STUDENT
4. Identify and list an example of the mentioned ones from the
table
a) Attribute –
b) Primary key –
c) Relation-
d) Entity-
6. Explain the difference between the CHAR and VARCHAR data types in MySQL.
…………………………………………………………………………………………
……………………………………………....................................................................
…………………………………………………………………………………………
V LONG ANSWER QUESTION
Write SQL commands for
1. a) Create a database named LIBRARY
……………………………………………………………………………………………………
…………………………………………………………………………………………………