I have a SQL where in the execution path differs.can someone please explain why is this difference.
SQL(with accounting_period BETWEEN 310 AND 364)
================================================
select business_unit, ledger, account, product, deptid, operating_unit,
scb_custcls, project_id, affiliate, currency_cd, base_currency,
SUM(posted_total_amt), SUM(posted_base_amt),
SUM(posted_tran_amt)
from ps_ledger_adb
where business_unit='156'
and ledger='ACTUAL_LCY'
and fiscal_year=2003
and accounting_period BETWEEN 310 AND 364
and deptid='1425'
and account='111101'
group by business_unit, ledger, account, product, deptid, operating_unit,
scb_custcls, project_id, affiliate, currency_cd, base_currency
Bookmarks