String a = "insert into movie values('"+w[0]+"','"+w[1]+"','"+w[2]+
"',STR_TO_DATE('"+w[3]+"','%y-%m-%d'),'"+w[4]+"','"
+w[5]+"','"+w[6]+"','"+w[7]+"','"+w[8]+"');";
- w[3] is date type which is like 2019-12-25
- I got error message : Incorrect datetime value: '(?)???????????(NEW)' for function str_to_date
- What am I missing??