OpenGenus/Student-Management-System-in-Java ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Student Management System in Java with a MySQL database.
I want a small app where I can add new students, view all students, update student details, search for a student, and sort the list by major, last name, or first name. Each student should store an ID, first name, last name, major, phone number, GPA, and date of birth. Please make it work with a MySQL table and include whatever database setup is needed so it can run after I import the sample SQL file and update the connection settings.
Keep it straightforward and usable, with a clean menu or basic interface that lets me do the common actions easily. If you need to check anything about current Java or MySQL setup details, look up the latest docs online.
Are you gonna build this?
make sure you review the code using coderabbit