HamiIT
Sign inGet started
Home
ADD CONTENT

Sign in Required

Please sign in to add content

Sign In
ProgramsBCASemester 4Database Management SystemUnit 6: Manipulating and Querying Data (8Hrs.)
Chapter Study

BCA Semester 4 – Database Management System – Unit 6: Manipulating and Querying Data (8Hrs.)

Comprehensive questions and detailed answers for Unit 6: Manipulating and Querying Data (8Hrs.). Perfect for exam preparation and concept clarity.

6
Questions
55
Marks
Back to All Chapters
1

Consider a database system with following schemes:   
  Restaurant(Rname, Rlocation, Rfund) 
  Cook(Cname, Cspeciality) 
  Worksat(Cname, Rname, Workinghrs, Shift)
  Food(Fname, Cname, Catagory)
Now write SQL statements and relational algebra statements for following Queries:
a) Select the name and location of all restaurants.
b) Find the working hours of cook named "Sita".
c) Select name of the foods cooked by "Ramesh".
d) Use join to select name of restaurants where food of category "breakfast" is available.
e) Find the name of cooks who work as "KFC"

MediumTHEORY10 marks2020(TU FOHSS Final)
2

How Order By and Group BY Having Clause in SQL are different? Illustrate with suitable examples.

MediumTHEORY5 marks2021(TU FOHSS Final)
3

Given the schema as below, write relational algebra and SQL queries for following:Sailors(sid, sname, rating, age)Boats(bid, bname, colour)Reserves(sid, bid, reservedate)
a) Find name, rating and age of all the sailors.
b) Find the name and color of boats having color blue.
c) Find name of the boats reserved on date 2021/07/20.
d) Find the names of boats and sailors who have reserved boats having color green.
e) Use Left and Right Outer Join between Sailors and Reserves.

HardTHEORY10 marks2021(TU FOHSS Final)
4

How different join operations can be performed? Explain with proper examples. Consider a database of a shipment company. Shipped items are received into the system at a single retail center. Shipped items make their way to their destination via one or more standard transportation events (i.e. flights, truck deliveries). The transportation events follow a regular schedule. Create an ER diagram to represent this information.

MediumTHEORY10 marks2023(TU FOHSS Final)
5

Consider the following tables: Book(Bookid, Title, Publisher, Published Date, Price)
Book_Authors (Bookid, Author name)
Borrower (Card No, Name, Address, Contact)
Bookissue (BookId, CardNo, IssuedDate, Due Date)

Write SQL query for the following:
a) Find the name of the books taken by Ramesh Sharma.
b) Find the Issued book name and the borrower's name who have Issued date before 15th May, 2023 and due date after 15th June, 2023.
c) Find the borrower's name who has taken the book written by Laxmi Prashad Devkota.
d) Find the number of books Issued on the date 25th April, 2023.

MediumTHEORY10 marks2023(TU FOHSS Final)
6

Consider the following employee database, where primary keys are underlined Supplier (supplier-id, supplier-name, city) Suppliers (Supplier-id, parts-id, quantity) Parts (part-id, par-name, color, weight)
a) Write a SQL query to create above table.
b) Find the name of all suppliers who has supplied parts with quantity more than100 and the name of all parts supplied by "RD Traders"
c) Find the number of parts supplied by "S02"
d) Find the name of suppliers located in city "KTM".

MediumTHEORY10 marks2024(TU FOHSS Final)
Showing 6 questions

Exam Years

Past question papers

2024
TU FOHSS Final•1 questions
2023
TU FOHSS Final•2 questions
2021
TU FOHSS Final•2 questions
2020
TU FOHSS Final•1 questions

Questions in Unit 6: Manipulating and Querying Data (8Hrs.)

Consider a database system with following schemes:   \   Restaurant(Rname, Rlocation, Rfund) \   Cook(Cname, Cspeciality) \   Worksat(Cname, Rname, Workinghrs, Shift)\   Food(Fname, Cname, Catagory)\

Marks: 10

Year: 2020 Final TU FOHSS

DBMS – SQL & Relational Algebra Queries Given Schemas - Restaurant(Rname, Rlocation, Rfund) - Cook(Cname, Cspeciality) - WorksAt(Cname, Rname, Workinghrs, Shift) - Food(Fname, Cname, Category) --- (

How Order By and Group BY Having Clause in SQL are different? Illustrate with suitable examples.

Marks: 5

Year: 2021 Final TU FOHSS

Difference Between ORDER BY and GROUP BY with HAVING Clause in SQL 1. ORDER BY Clause - Purpose: Sorts the rows in the result set in ascending (ASC) or descending (DESC) order. - Example: List emp

Given the schema as below, write relational algebra and SQL queries for following:Sailors(sid, sname, rating, age)Boats(bid, bname, colour)Reserves(sid, bid, reservedate)\ a) Find name, rating and age

Marks: 10

Year: 2021 Final TU FOHSS

Unit: DBMS – SQL & Relational Algebra Queries Given Schemas: - Sailors(sid, sname, rating, age) - Boats(bid, bname, colour) - Reserves(sid, bid, reservedate) --- a) Name, rating, and age of

How different join operations can be performed? Explain with proper examples. Consider a database of a shipment company. Shipped items are received into the system at a single retail center. Shipped i

Marks: 10

Year: 2023 Final TU FOHSS

Unit: DBMS – Join Operations & ER Diagram --- 1. Different Types of Join Operations Join operations combine data from two or more tables based on a related column. | Join Type | Description | SQL Exa

Consider the following tables: Book(Bookid, Title, Publisher, Published Date, Price)\ BookAuthors (Bookid, Author name)\ Borrower (Card No, Name, Address, Contact)\ Bookissue (BookId, CardNo, IssuedDa

Marks: 10

Year: 2023 Final TU FOHSS

Unit: SQL Queries – Library Database Tables: 1. Book(Bookid, Title, Publisher, PublishedDate, Price) 2. BookAuthors(Bookid, AuthorName) 3. Borrower(CardNo, Name, Address, Contact) 4. BookIssue(B

Consider the following employee database, where primary keys are underlined Supplier (supplier-id, supplier-name, city) Suppliers (Supplier-id, parts-id, quantity) Parts (part-id, par-name, color, wei

Marks: 10

Year: 2024 Final TU FOHSS

Employee Database SQL Queries Given Tables - Supplier (supplierid, suppliername, city) - Suppliers (supplierid, partid, quantity) - Parts (partid, partname, color, weight) --- a) Create Tables

About Unit 6: Manipulating and Querying Data (8Hrs.) Questions

This page contains comprehensive questions from the Unit 6: Manipulating and Querying Data (8Hrs.) chapter of Database Management System, part of the BCA Semester 4 curriculum. All questions include detailed model answers from past TU exam papers.

Study Tips

  • Review concepts before attempting questions
  • Practice writing complete answers
  • Compare your answers with model solutions
  • Focus on questions from recent years
  • Use direct links (#question-ID) to bookmark and share specific questions

Related Resources

← Back to Database Management System Chapters

Unit 6: Manipulating and Querying Data (8Hrs.) chapter questions with answers for Database Management System (BCA Semester 4). Prepare for TU exams with our comprehensive question bank and model answers.

H
Hami IT

Empowering IT students with quality education resources and comprehensive exam preparation materials.

Programs

  • Flutter
  • Java
  • DevOps

Company

  • About Us
  • Contact

Contact

  • 📧hamiit.dev@gmail.com
  • 📞+977 9813706443
  • 📍Kathmandu, Nepal

© 2026 Hami IT. All rights reserved.