mysql query problem WHERE date < -
i have following query
select *, count(jx_commissions.commission_amount) summe jx_members inner join jx_commissions on jx_commissions.mid = jx_members.mid jx_commissions.date > '2011-01-01' group jx_commissions.mid order summe desc limit 1, 20
field date have date format , dates have right format y-m-d
but if use query not results... if change date nother one, wrong results... think compare string... how can search date??
if jx_commissions.date
date field can conditional jx_commissions.date > date('2011-01-01')
Comments
Post a Comment