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

Assignment no 2 CS403

The document outlines Assignment no 2 for CS403, assigned to Hina Ismail with ID BC230215963. It includes tasks such as creating a members table, inserting a record into a books table, deleting records from a Borrowing table, updating member emails, and retrieving specific book details based on criteria. Each task is associated with a specific SQL command and a point value indicating its weight in the assignment.

Uploaded by

hinarajputt6
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Assignment no 2 CS403

The document outlines Assignment no 2 for CS403, assigned to Hina Ismail with ID BC230215963. It includes tasks such as creating a members table, inserting a record into a books table, deleting records from a Borrowing table, updating member emails, and retrieving specific book details based on criteria. Each task is associated with a specific SQL command and a point value indicating its weight in the assignment.

Uploaded by

hinarajputt6
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Assignment no 2 CS403

Name Hina Ismail


ID:BC230215963

Task Statement SQL Command

1. Create a table named members with the schema describe


above including primary key and any foreign key relationships 3
if available
2. Insert a new record in a books table with the following details:
BOOK ID= B001
Title= Database system, Author= Salman, Category= 6
Technology, Price=1000, Stock=20
3 Delete all record from the Borrowing table Where the return
data is earlier than January 1 2024. 8
4 Update the emails of the member in the member table with
member ID=M002 to [email protected]’. 10

5 Retrieve the title and price of all books in the books table
where the category is ‘Fiction’ and price is less than 500.
12

You might also like