Unable to connect to database !
1064 <- 오류번호
SELECT
number,
grade_money,
skin_html,
skin_date,
title,
user_id,
user_name,
user_age,
user_prefix,
user_phone,
user_hphone,
user_email1,
user_email2,
user_homepage,
user_image,
user_addr1,
job_where1_0,
job_where1_1,
job_where2_0,
job_where2_1,
job_where3_0,
job_where3_1,
job_type1,
job_type2,
job_type3,
job_type_sub1,
job_type_sub2,
job_type_sub3,
keyword,
grade_gtype,
grade_money,
grade_money_type,
grade_lastgrade,
grade2_schoolType,
grade3_schoolType,
grade4_schoolType,
grade5_schoolType,
grade6_schoolType,
work_year,
work_month,
work_otherCountry,
filename1,
filename2,
filename3,
filename4,
filename5,
skill_word,
skill_ppt,
skill_excel,
skill_search,
skill_list,
skill_etc,
viewListCount,
regdate,
modifydate,
etc1,
etc2,
etc3,
etc4,
etc5,
etc6,
etc7,
etc8,
etc9,
etc10,
specialDate,
focusDate,
powerlinkDate,
iconDate,
bolderDate,
colorDate,
freeiconDate,
freeicon,
display,
bgcolorDate,
start_worktime,
finish_worktime,
guzicperson,
guziceducation,
guzicnational,
guzicmarried,
guzicchild,
guziclicence,
guziclicence_title,
guzicsicompany,
GuzicUryoDate1,
GuzicUryoDate2,
GuzicUryoDate3,
GuzicUryoDate4,
GuzicUryoDate5,
use_adult,
last_login
,x_point,y_point
FROM
job_per_document
WHERE
1=1
AND (
(
job_type1 = '1'
OR
job_type2 = '1'
OR
job_type3 = '1'
)
) AND display = 'Y'
ORDER BY
last_login desc
LIMIT
-20, 30
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 '-20, 30' at line 113