Database Lab 02
Database Lab 02
Lab Report NO # 02
Course Title: Database Lab
Course Code: CSE_210 Section: 231_D2
Lab Experiment Name: Modifying MySQL databases and Updating Data in MySQL Table
Student Details
Name ID
4. IMPLEMENTATION
UPDATE customer
SET Email = '[email protected]'
WHERE customer_name = 'Mahabub';
UPDATE customer
SET Email = '[email protected]'
WHERE customer_name = 'Hasan';
UPDATE customer
SET Email = '[email protected]'
WHERE customer_name = 'Mahin';
5. OUTPUT
branch
customer
account
loan
depositor
borrower
6. DISCUSSION
creates a bank database with tables for branches, customers, accounts, loans, depositors, and
borrowers, establishing necessary relationships through foreign keys. It inserts relevant records,
adds an email column to the customer table, and updates the data types as specified. The script
concludes by retrieving data from all tables to verify the integrity and correctness of the database
structure and entries.