Java code for inserting data into a MySQL database gives an 'Error: No value specified for parameter 2' – how do I fix it?
So I'm working on my internal assessment for IB for comp sci and I have the snippet of code that basically is supposed to insert a a row within a subjects table that contains both a subject name, and the…