I have an interesting dilemma;
I have a String[][] pulled from a MySQL database. For simplicity, I have printed the contents using Arrays.deepToString(<arrayname>):
[[1, gimley, <sanitised>, <sanitised>, <sanitised>, <sanitised>, 1994-10-11, <sanitised>, 2015-02-20 08:55:36.0],
[2, Eris, Exotic, <sanitised>, <sanitised> <sanitised> <sanitised>, <sanitised>, 1996-02-15, <sanitised>, 2015-02-24 13:02:00.0],
[3, Macca, Maccan, <sanitised>, <sanitised>, <sanitised>, 1996-11-11, University, Probably on Destiny, 2015-02-24 13:03:17.0],
[4, <sanitised>, bacon, standard, <sanitised>, <sanitised>, 1996-03-12, <sanitised> or <sanitised>; depends, 2015-02-26 15:44:28.0]]
My question is: How can I remove one of the rows of the array-of-arrays, and replace the existing database with the contents of a new array-of-arrays? I understand that this is bad practice as I can just update the table directly, but this exercise requires me to do this method.