Assignment JDBC
Assignment JDBC
A.Y. 2023-2024.
Even Semester
==============================================================================
ASSSIGNMENT NUMBER -01
FYMCA- Div-A and Div-B
Topic- JDABC using GUI.
Date: 12/2/2024 Submission Date: 16/02/2022
==============================================================================
Q.1. Write a program to list the content of fields company id, order date, purchase amount and
status id in the table purchase, order (you have to create the structure and add the data in this
table)
Q.2.Develop a program with GUI to display an instance of text area and three button assume that
a table with fields namely book_name, author_name and publisher_name is available. write a
program in such a way that the book names will be listed within the text area when the first
button is pressed, the author names will be listed when the 2nd button is pressed, and the
publisher names will be listed when the 3rd button is pressed.
Q. 3. Write a program to update the sales column in the table copies by executing an update
command of the following form with the help of prepared statement object.
update coffees set sales=? where cof_name=?
Q.5. Write a program to extract the list of the coffees what from supplier acme, inc by considering a
query
Q.6. Design and implement web application for Customer Management
Create a customer
● Update a customer
● Delete a customer
● Retrieve a customer
Q.7. Create a table called Employee, Accept all the details of Newly joined employees and
perform all the SQL operation
● Update a Employee
● Delete a Employee
● Retrieve a Employee
The database consists of four tables, ACCOUNT, TELLER, BRANCH, and HISTORY. The
history table logs all deposits and withdrawals.
Each withdrawal and deposit forms one transaction which involves updating the account balance,
teller balance, branch balance, writing a log entry to the HISTORY table and querying to
determine the resulting customer account balance. In the benchmark, this transaction is
performed over and over again.
Q.9. Write a program to update the SALES column in the table COFFES by adding the weekly
amounts sold to the existing total.
Q.10. Write a program to design GUI for SUPPLIR table cosist of field Supplier_id,
Supplier_name, GST_Number, Quotation_Number, Purchase_Order_Number, Payment
_Amount, Order_Status, Payment_Status
Perform the following operation.
● Update Supplier
● Delete Supplier
● Display the Supplier whose Payment is due cause of late order delivered.