SQL ERROR You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
select k.YAKYOKUNAME, k.ZIPCODE, k.ADDRESS1, k.ADDRESS2, k.MAP, k.TEL, k.FAX, k.KANRINAME, k.TANTONAME, k.URLFLG, k.URL, k.MAIL, s.MUNAYAKUNET, s.TAISEI0301, s.TAISEI0302, s.TAISEI0303, s.TAISEI0304, s.TAISEI0305, s.TAISEI0306, s.MENDAN0401, s.MENDAN0402, s.MENDAN0403, s.MENDAN0404, s.MENDAN0405, s.MENDAN0406, s.MENDAN0407, s.KAIGI0501, s.KAIGI0502, s.KAIGI0503, s.CANFA0601, s.CANFA0602, s.APO0701, s.COMMENT, s.UPDATEDATE from TBL_KIHON_MED k inner join TBL_MED s on k.SEQ = s.SEQ where k.SEQ =