0% found this document useful (0 votes)
52 views

Database Management Concepts-Assignment-7

This document contains questions about database management concepts like tables, primary keys, degrees, and foreign keys. It asks the student to identify primary keys from given tables, define degrees, perform tasks like opening a database and displaying table structures in an RDBMS, write SQL statements for operations like inserting records, updating data, deleting records, and adding columns to tables. It also asks the student to explain the use of foreign keys in a relational database with an example.

Uploaded by

chitra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views

Database Management Concepts-Assignment-7

This document contains questions about database management concepts like tables, primary keys, degrees, and foreign keys. It asks the student to identify primary keys from given tables, define degrees, perform tasks like opening a database and displaying table structures in an RDBMS, write SQL statements for operations like inserting records, updating data, deleting records, and adding columns to tables. It also asks the student to explain the use of foreign keys in a relational database with an example.

Uploaded by

chitra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

SHANTINIKETAN INDIAN SCHOOL, DOHA-QATAR

Database Management Concepts


Assignment-7

Information Technology (802) Max. Marks:10

1. Consider the following table PLAYER

a) Identity and write the name of the most appropriate column from the given table
PLAYER that can be used a Primary key
b) Define the term Degree in relational data model. What is the Degree of the given
table PLAYER?
2. Rohan is learning to work upon Relational Database Management System (RDBMS)
application. Help him to perform following tasks:
a) To open the database named “LIBRARY”.
b) To display the names of all the tables stored in the opened database.
c) To display the structure of the table “BOOKS” existing in the already opened
database “LIBRARY”
3. Navdeep creates a table RESULT with a set of records to maintain the marks secured by
students in Sem1, Sem2, Sem3 and their division. After creation of the table, he has entered
data of 7 students in the table.
Table: RESULT

Based on the data given above answer the following questions:


a) Identify the most appropriate column, which can be considered as Primary key.
b) If two columns are added and 2 rows are deleted from the table result, what will be
the new degree and cardinality of the above table?
c) Write the statement to insert the following record into the table – Roll No- 108,
Name- Aadit, Sem1- 470, Sem2-444, Sem3-475, Div – I.
d) Write the statement to increase the SEM2 marks of the students by 3% whose name
begins with ‘N’.
e) Write the statement to delete the record of students securing IV division.
f) Write the statement to add a column REMARKS in the table with data type as
varchar with 50 characters
4. A SQL table ITEMS contains the following columns: INO, INAME, QUANTITY,
PRICE, DISCOUNT
a) Write the SQL command to remove the column DISCOUNT from the table.
b) Categorize the following SQL command into DDL and DML: CREATE, UPDATE,
INSERT, DROP

5. Explain the use of ‘Foreign Key’ in a Relational Database Management System. Give
example to support your answer.

You might also like