The document discusses using Java Swings with a MySQL database to create a program that can add and delete records from a table. It provides instructions on installing MySQL, connecting it to a Java project in Eclipse, and includes code snippets for adding and deleting records. Students are given an activity to generate sample data to insert and then delete by ID from a table called "CS(your section)_tbl" with fields for id, name, age, gender, and address.
The document discusses using Java Swings with a MySQL database to create a program that can add and delete records from a table. It provides instructions on installing MySQL, connecting it to a Java project in Eclipse, and includes code snippets for adding and deleting records. Students are given an activity to generate sample data to insert and then delete by ID from a table called "CS(your section)_tbl" with fields for id, name, age, gender, and address.
The document discusses using Java Swings with a MySQL database to create a program that can add and delete records from a table. It provides instructions on installing MySQL, connecting it to a Java project in Eclipse, and includes code snippets for adding and deleting records. Students are given an activity to generate sample data to insert and then delete by ID from a table called "CS(your section)_tbl" with fields for id, name, age, gender, and address.
By: Sir Kent What is Database? • A database is a structured collection of data that is organized and stored in a way that allows for efficient retrieval, updating, and management. It is designed to manage and store large amounts of information, making it easy to organize, search, and retrieve data as needed. What is MySQL? • MySQL is an open-source relational database management system (RDBMS) that is widely used for managing and organizing data. MySQL Installation https://www.mysql.com/downloads/ Its okay not to used STRONG Password since this is just for class usage only. Click Configure Build Path • Click On Module Path then “Add External Jars” • Choose your mysql jar detector • Then Click “Apply” and then “Apply and Close” Code for Add: Code for Delete: Activity 1: • Create a Java Swing Program that Inserts & Deletes the following value in the database. Table name: CS(your section)_tbl id: Name: Age: Gender: Address: Note: 1. Generate 5 examples first before Deleting. 2. When you use the Delete function it should be deleted in its ID number.