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??

enter image description here

enter image description here

if jx_commissions.date date field can conditional jx_commissions.date > date('2011-01-01')


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -