select *
from stgCRM_orders
where (status = 1 and status <> 0)
group by
id, crmuuid, salesOrderId, status, adminTouch, masTouch, status
having crmUUID = crmUUID
--
tony
Tony Weeg
human.
email: tonyweeg [at] gmail [dot] com
blog: http://www.revolutionwebdesign.com/blog/
Check out http://www.antiwrap.com to send websites to your friends.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

