select * from member as m join member_model as mm right join member_model_profile as mmp on (m.uid=mmp.uid and mm.uid=mmp.uid) where 1 and ((endday>=curdate() and endday!='yes') or endday='yes') and ((`best`>='2024-11-25')) and `open`!='no' order by `pdate` desc limit 0, 30
¿¡·¯¸Þ¼¼Áö
ERROR CODE 1054 : Unknown column \'endday\' in \'where clause\'