Java JDBC Limited Scanner

2020-05-04 23:58发布

问题:

Im a beginner looking to create a scanner that inserts user input data into a MySQL database I've created for a fitness application.

My current database is laid out with the following headings: Date_Created, Program_Name, Excercise_Name, Total_Sets, Set_1_Weight, Set_1_Reps, Set_2_Weight, etc. up to Set 10.

I'm looking for assistance to allow the scanner to query amount of sets input by the user in Total_Sets.

Any help would be greatly appreciated.

Thanks.