string(800) " SELECT DATE_FORMAT(mon_open,'%H:%i') as ot1,DATE_FORMAT(mon_last,'%H:%i') as ol1,mon_active as ac1,mon_ol as olt1, DATE_FORMAT(tue_open,'%H:%i') as ot2,DATE_FORMAT(tue_last,'%H:%i') as ol2,tue_active as ac2,tue_ol as olt2, DATE_FORMAT(wed_open,'%H:%i') as ot3,DATE_FORMAT(wed_last,'%H:%i') as ol3,wed_active as ac3,wed_ol as olt3, DATE_FORMAT(thu_open,'%H:%i') as ot4,DATE_FORMAT(thu_last,'%H:%i') as ol4,thu_active as ac4,thu_ol as olt4, DATE_FORMAT(fri_open,'%H:%i') as ot5,DATE_FORMAT(fri_last,'%H:%i') as ol5,fri_active as ac5,fri_ol as olt5, DATE_FORMAT(sat_open,'%H:%i') as ot6,DATE_FORMAT(sat_last,'%H:%i') as ol6,sat_active as ac6,sat_ol as olt6, DATE_FORMAT(sun_open,'%H:%i') as ot7,DATE_FORMAT(sun_last,'%H:%i') as ol7,sun_active as ac7,sun_ol as olt7 FROM girls_weekly WHERE girlsID = ;" DBエラーです