mysql query going for full table scan -


update apa_pended_demand apd inner join apa_generic_demand_details agd     on agd.demandid = apd.demandid  set apd.genericdemandid = agd.genericdemandid apd.ispend = 1 ,       agd.genericdemandid != '' ,       agd.genericdemandid not null ,       apd.reactivatedate > utc_timestamp() ,       agd.status < 300 ,       apd.id between 280001 , 290000 ; 

the above query going full table scan.so can please me in sorting query


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -