Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> No subselect in explain plan
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C01CFD.F3CD1300
Content-Type: text/plain;
charset="iso-8859-1"
I do not see in explain plan any access to the tables in subselects which I use for columns. Anybody knows why. Oracle 8.1.6.2 on Solaris
Alex Hillman
OPERATIONS OPTIONS OBJECT_NAME OBJECT_TYPE ------------------------------------------------------- --------------- ----------------------- ------------------------------ --SELECT STATEMENT --SORT ORDER BY --UNION-ALL --FILTERINVOICE SELECT
--NESTED LOOPS
--TABLE ACCESS FULL INVOICE --TABLE ACCESS BY INDEX ROWID PERSON --INDEX UNIQUE SCAN PERSON_PK UNIQUE --INDEX RANGE SCAN PERSON_ORG_CATEGORY_PK UNIQUE
--FILTER
--TABLE ACCESS BY INDEX ROWID PERSON_ATTRIBUTE --INDEX RANGE SCAN PERATTR_PARENT_ID NON-UNIQUE --TABLE ACCESS BY INDEX ROWID TRANSACTION --INDEX UNIQUE SCAN TRANSACTION_PK UNIQUE
--FILTER
--NESTED LOOPS --TABLE ACCESS BY INDEX ROWID INVOICE_BILLING --INDEX UNIQUE SCAN INVOICE_BILLING_PK UNIQUE --TABLE ACCESS BY INDEX ROWID PERSON_ATTRIBUTE --INDEX RANGE SCAN PERATTR_PARENT_ID NON-UNIQUE --NESTED LOOPS --TABLE ACCESS BY INDEX ROWID INSURANCE --INDEX UNIQUE SCAN INSURANCE_PK UNIQUE --TABLE ACCESS BY INDEX ROWID INSURANCE --INDEX UNIQUE SCAN INSURANCE_PK UNIQUE
--FILTER
--TABLE ACCESS BY INDEX ROWID PERSON_ATTRIBUTE --INDEX RANGE SCAN PERATTR_PARENT_ID NON-UNIQUE --TABLE ACCESS BY INDEX ROWID TRANSACTION --INDEX UNIQUE SCAN TRANSACTION_PK UNIQUE
--TABLE ACCESS BY INDEX ROWID
TRANSACTION --INDEX RANGE SCAN TRANS_INVOICE_ID NON-UNIQUE --NESTED LOOPS
--TABLE ACCESS FULL
TRANSACTION
--TABLE ACCESS BY INDEX ROWID
to_number(NULL) as trans_id,NULL as reck_date,to_number(NULL) as reck_id,
( select min(to_char(e.start_time,'MM/DD/YYYY')) from event e, event_attribute ea where ea.value_text = p.person_id and ea.item_name = 'Appointment' and ea.value_type = 333 and e.event_id = ea.parent_id and e.start_time - to_date(:9,'MM/DD/YYYY') >=0 )as appt, (SELECT MIN(iia.comments) FROM invoice_item_adjust iia WHERE parent_id = (SELECT MIN(item_id) FROM invoice_item ii WHERE ii.parent_id = i.invoice_id AND ii.item_type in (0,1,2) ) ) as description FROM person p ,invoice i WHERE upper(substr(p.name_last,1,1)) between upper(:1) AND upper(:2) AND i.client_id = p.person_id AND i.balance between (:3) AND (:4) AND i.invoice_date between to_date(:5,'MM/DD/YYYY') AND to_date(:6,'MM/DD/YYYY') AND i.invoice_status not in (15,16) AND EXISTS ( SELECT 1 FROM person_org_category poc WHERE p.person_id = poc.person_id AND poc.org_internal_id = :7 ) AND EXISTS ( SELECT 1 FROM person_attribute WHERE item_name = 'WorkList-Collection-Setup-Org' AND value_text = (select service_facility_id FROM transaction WHERE trans_id= i.main_transaction) AND parent_id = :8 AND parent_org_id = :7 ) AND EXISTS ( SELECT 1 FROM person_attribute pa,invoice_billing ib WHERE pa.item_name = 'WorkList-Collection-Setup-Product' AND i.billing_id = ib.bill_id AND parent_id = :8 AND pa.parent_org_id = :7 AND ( ib.bill_party_type IN (0,1) OR EXISTS ( SELECT 1 FROM insurance coverage,insurance prod_plan WHERE ib.bill_ins_id = coverage.ins_internal_id AND prod_plan.ins_internal_id = coverage.parent_ins_id AND ( (prod_plan.ins_internal_id = pa.value_int AND prod_plan.record_type =1) OR prod_plan.parent_ins_id = pa.value_int ) ) ) ) AND EXISTS ( SELECT 1 FROM person_attribute WHERE item_name = 'WorkList-Collection-Setup-Physician' AND value_text = (select provider_id FROM transaction WHERE trans_id= i.main_transaction) AND parent_id = :8 AND parent_org_id = :7 ) AND NOT EXISTS ( SELECT 1 FROM transaction WHERE trans_type = 9520 AND trans_status = 2 AND provider_id = :8 AND invoice_id = i.invoice_id AND invoice_id is not NULL AND billing_facility_id = :7 ) UNION ALL SELECT t.trans_owner_id as
t.trans_id, ( SELECT to_char(trans_begin_stamp,'MM/DD/YYYY') FROM transaction WHERE trans_owner_id = t.trans_owner_id AND trans_type = 9510 AND provider_id = t.provider_id AND trans_status = 2 )as reck_date , ( SELECT trans_id FROM transaction WHERE trans_owner_id = t.trans_owner_id AND trans_type = 9510 AND provider_id = t.provider_id AND trans_status = 2 )as reck_id, ( select min(to_char(e.start_time,'MM/DD/YYYY')) as appt from event e, event_attribute ea where ea.value_text = t.trans_owner_id and ea.item_name = 'Appointment' and ea.value_type = 333 and e.event_id = ea.parent_id and e.start_time - to_date(:9,'MM/DD/YYYY') >=0 )as appt, (SELECT MIN(iia.comments) FROM invoice_item_adjust iia WHERE parent_id = (SELECT MIN(item_id) FROM invoice_item ii WHERE ii.parent_id = i.invoice_id AND ii.item_type in (0,1,2) ) ) as description FROM transaction t ,invoice i WHERE t.trans_type = 9520 AND t.trans_status = 2 AND t.trans_subtype = 'Owner' AND t.provider_id = :8 AND t.invoice_id = i.invoice_id and t.invoice_id is not null AND t.billing_facility_id = :7 ORDER BY 2
------_=_NextPart_001_01C01CFD.F3CD1300
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =charset=3Diso-8859-1">
<TITLE>No subselect in explain plan</TITLE> </HEAD> <BODY>
<P><FONT SIZE=3D2 FACE=3D"Arial">I do not see in explain plan any = access to the tables in subselects which I use for columns. Anybody = knows why. Oracle 8.1.6.2 on Solaris</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Alex Hillman</FONT> </P> <BR> <BR>
<P><FONT SIZE=3D2 =
FACE=3D"Arial">OPERATIONS  = ;  = ;  = ;  =; OPTIONS = OBJECT_NAME &= nbsp; OBJECT_TYPE</FONT>
FACE=3D"Arial">------------------------------------------------------- = --------------- ----------------------- = ------------------------------</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial"> --SELECT STATEMENT</FONT> <BR><FONT SIZE=3D2 FACE=3D"Arial"> =
--SORT = = = ORDER =BY</FONT>
ACCESS = = =
ACCESS = = BY INDEX ROWID PERSON</FONT><BR><FONT SIZE=3D2 =
--INDEX  = ;  = ; =UNIQUE SCAN =
--INDEX  = ;  = ; RANGE =SCAN PERSON_ORG_CATEGORY_PK = UNIQUE</FONT>
ACCESS = = BY INDEX ROWID =PERSON_ATTRIBUTE</FONT>
--INDEX  = ;  = ; =RANGE SCAN = PERATTR_PARENT_ID NON-UNIQUE</FONT> <BR><FONT SIZE=3D2 =
ACCESS = = BY INDEX ROWID =TRANSACTION</FONT>
--INDEX  = ;  = ; =UNIQUE SCAN =
ACCESS = = BY INDEX ROWID INVOICE_BILLING</FONT><BR><FONT SIZE=3D2 =
--INDEX  = ;  = ; UNIQUE =SCAN =
ACCESS = = BY INDEX ROWID PERSON_ATTRIBUTE</FONT><BR><FONT SIZE=3D2 =
--INDEX  = ;  = ; RANGE =SCAN =
ACCESS = = BY INDEX ROWID INSURANCE</FONT><BR><FONT SIZE=3D2 =
--INDEX  = ;  = ; UNIQUE =SCAN =
ACCESS = = BY INDEX ROWID INSURANCE</FONT><BR><FONT SIZE=3D2 =
--INDEX  = ;  = ; UNIQUE =SCAN =
ACCESS = = BY INDEX ROWID =PERSON_ATTRIBUTE</FONT>
--INDEX  = ;  = ; =RANGE SCAN = PERATTR_PARENT_ID NON-UNIQUE</FONT> <BR><FONT SIZE=3D2 =
ACCESS = = BY INDEX ROWID =TRANSACTION</FONT>
--INDEX  = ;  = ; =UNIQUE SCAN =
ACCESS = = BY INDEX ROWID =TRANSACTION</FONT>
--INDEX  = ;  = ;  =; RANGE SCAN = TRANS_INVOICE_ID = NON-UNIQUE</FONT>
ACCESS = = =FULL = TRANSACTION</FONT>
ACCESS = = BY INDEX ROWID =INVOICE</FONT>
</P> <BR> <BR> <BR>
<P> =
<FONT SIZE=3D2 =
FACE=3D"Arial">SELECT =
p.person_id,i.invoice_id,i.balance,to_char(i.invoice_date,'MM/DD/YYYY') =
as invoice_date,</FONT>
<BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">to_number(NULL) as trans_id,NULL as = reck_date,to_number(NULL) as reck_id,</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">(</FONT>
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">select min(to_char(e.start_time,'MM/DD/YYYY')) </FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">from event e, event_attribute ea</FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">where ea.value_text =3D p.person_id</FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">and ea.item_name =3D 'Appointment' </FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">and ea.value_type =3D 333</FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">and e.event_id =3D ea.parent_id</FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">and e.start_time - to_date(:9,'MM/DD/YYYY') >=3D0 = = </FONT> <BR> =
= = = <FONT SIZE=3D2 = FACE=3D"Arial">)as appt, = = = </FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">(SELECT MIN(iia.comments) FROM invoice_item_adjust iia = WHERE parent_id =3D</FONT>
= = = <FONT SIZE=3D2 =FACE=3D"Arial"> (SELECT MIN(item_id) FROM invoice_item ii WHERE = ii.parent_id =3D i.invoice_id AND</FONT></P>
<P> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial"> ii.item_type in (0,1,2) )</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">) as =
= = <FONT SIZE=3D2 =FACE=3D"Arial">FROM person p ,invoice i </FONT> <BR> =
= = <FONT SIZE=3D2 =FACE=3D"Arial">WHERE upper(substr(p.name_last,1,1)) between = upper(:1) </FONT>
= = <FONT SIZE=3D2 =FACE=3D"Arial">AND upper(:2)</FONT> <BR> =
= = <FONT SIZE=3D2 =FACE=3D"Arial">AND i.client_id =3D = p.person_id</FONT>
= = <FONT SIZE=3D2 =FACE=3D"Arial">AND i.balance between (:3) = </FONT>
= = <FONT SIZE=3D2 =FACE=3D"Arial">AND (:4)</FONT> <BR> =
= = <FONT SIZE=3D2 =FACE=3D"Arial">AND i.invoice_date between = to_date(:5,'MM/DD/YYYY')</FONT>
= = <FONT SIZE=3D2 = FACE=3D"Arial">AND =to_date(:6,'MM/DD/YYYY') = </FONT> <BR> =
= = <FONT SIZE=3D2 =FACE=3D"Arial">AND i.invoice_status not in = (15,16) = </FONT> <BR> =
= = <FONT SIZE=3D2 =FACE=3D"Arial">AND EXISTS</FONT>
= = <FONT SIZE=3D2 =FACE=3D"Arial">(</FONT>
= = = <FONT SIZE=3D2 =FACE=3D"Arial">SELECT 1 </FONT>
= = = <FONT SIZE=3D2 =FACE=3D"Arial">FROM person_org_category poc</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">WHERE p.person_id =3D poc.person_id</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">AND poc.org_internal_id =3D = :7 = = </FONT> <BR> =
= = <FONT SIZE=3D2 =FACE=3D"Arial">)</FONT>
= = <FONT SIZE=3D2 =FACE=3D"Arial">AND EXISTS</FONT>
= = <FONT SIZE=3D2 =FACE=3D"Arial">(</FONT>
= = = <FONT SIZE=3D2 =FACE=3D"Arial">SELECT 1</FONT>
= = = <FONT SIZE=3D2 =FACE=3D"Arial">FROM person_attribute</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">WHERE item_name =3D = 'WorkList-Collection-Setup-Org'</FONT>
= = = <FONT SIZE=3D2 =FACE=3D"Arial">AND value_text =3D (select = service_facility_id FROM transaction</FONT> <BR> =
= = = = = = <FONT SIZE=3D2 =FACE=3D"Arial">WHERE trans_id=3D i.main_transaction)</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">AND parent_id =3D :8</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">AND parent_org_id =3D :7</FONT> <BR> =
= = <FONT SIZE=3D2 =FACE=3D"Arial">)</FONT>
= = <FONT SIZE=3D2 =FACE=3D"Arial">AND EXISTS</FONT>
= = <FONT SIZE=3D2 =FACE=3D"Arial">( </FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">SELECT 1</FONT>
= = = <FONT SIZE=3D2 =FACE=3D"Arial">FROM person_attribute = pa,invoice_billing ib</FONT>
= = = <FONT SIZE=3D2 =FACE=3D"Arial">WHERE pa.item_name =3D = 'WorkList-Collection-Setup-Product'</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">AND i.billing_id =3D = ib.bill_id</FONT>
= = = <FONT SIZE=3D2 =FACE=3D"Arial">AND parent_id =3D :8</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">AND pa.parent_org_id =3D = :7 = </FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">AND (</FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">ib.bill_party_type IN (0,1)</FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">OR</FONT>
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">EXISTS</FONT>
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">(</FONT>
= = = = = <FONT SIZE=3D2 =FACE=3D"Arial">SELECT 1 </FONT>
= = = = <FONT SIZE=3D2 =FACE=3D"Arial"> FROM = insurance coverage,insurance prod_plan </FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial"> WHERE = ib.bill_ins_id =3D coverage.ins_internal_id</FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial"> = AND prod_plan.ins_internal_id =3D = coverage.parent_ins_id</FONT>
= = = = <FONT SIZE=3D2 =FACE=3D"Arial"> = AND </FONT>
= = = = <FONT SIZE=3D2 =FACE=3D"Arial"> (</FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial"> = (prod_plan.ins_internal_id = =3D pa.value_int AND prod_plan.record_type =3D1)</FONT></P>
<P> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial"> = OR prod_plan.parent_ins_id = =3D pa.value_int</FONT>
= = = = = <FONT SIZE=3D2 =FACE=3D"Arial">) =
= = = = </FONT><BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial"> )</FONT>
= =  =; <FONT SIZE=3D2 = FACE=3D"Arial">)</FONT>
= = <FONT SIZE=3D2 =FACE=3D"Arial">)</FONT>
= = <FONT SIZE=3D2 =FACE=3D"Arial">AND EXISTS</FONT>
= = <FONT SIZE=3D2 =FACE=3D"Arial">(</FONT>
= = = <FONT SIZE=3D2 =FACE=3D"Arial">SELECT 1</FONT>
= = = <FONT SIZE=3D2 =FACE=3D"Arial">FROM person_attribute</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">WHERE item_name =3D = 'WorkList-Collection-Setup-Physician'</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">AND value_text =3D (select = provider_id FROM transaction</FONT>
= = = = = = <FONT SIZE=3D2 =FACE=3D"Arial">WHERE trans_id=3D i.main_transaction)</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">AND parent_id =3D :8</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">AND parent_org_id =3D = :7 =
= = = = </FONT><BR> =
= = <FONT SIZE=3D2 =FACE=3D"Arial">) =
= = = = </FONT><BR> =
= = <FONT SIZE=3D2 =FACE=3D"Arial">AND NOT EXISTS</FONT>
= = = <FONT SIZE=3D2 =FACE=3D"Arial">SELECT 1 </FONT>
= = = <FONT SIZE=3D2 =FACE=3D"Arial">FROM transaction</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">WHERE trans_type =3D 9520</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">AND trans_status =3D 2</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">AND provider_id =3D :8</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">AND invoice_id =3D = i.invoice_id </FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">AND invoice_id is not NULL</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">AND billing_facility_id =3D = :7 = = </FONT> <BR> =
= = <FONT SIZE=3D2 =FACE=3D"Arial">) </FONT> <BR> =
= = <FONT SIZE=3D2 =FACE=3D"Arial">UNION ALL</FONT>
= = <FONT SIZE=3D2 =FACE=3D"Arial">SELECT t.trans_owner_id as = person_id,i.invoice_id,i.balance,to_char(i.invoice_date,'MM/DD/YYYY') = as invoice_date,</FONT></P>
<P> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">t.trans_id,</FONT>
= = = <FONT SIZE=3D2 =FACE=3D"Arial">( SELECT = to_char(trans_begin_stamp,'MM/DD/YYYY') </FONT> <BR> &=
nbsp; = = = <FONT SIZE=3D2 =FACE=3D"Arial">FROM transaction </FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">WHERE trans_owner_id =3D t.trans_owner_id</FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">AND trans_type =3D 9510 </FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">AND provider_id =3D = t.provider_id </FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">AND trans_status =3D 2</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">)as reck_date ,</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">( SELECT = trans_id </FONT>
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">FROM transaction </FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">WHERE trans_owner_id =3D t.trans_owner_id</FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">AND trans_type =3D 9510 </FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">AND provider_id =3D = t.provider_id </FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">AND trans_status =3D 2</FONT> <BR> =  = ; = <FONT SIZE=3D2 = FACE=3D"Arial">)as reck_id,</FONT>
= = = <FONT SIZE=3D2 =FACE=3D"Arial">(</FONT>
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">select min(to_char(e.start_time,'MM/DD/YYYY')) as = appt</FONT>
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">from event e, event_attribute ea</FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">where ea.value_text =3D t.trans_owner_id </FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">and ea.item_name =3D 'Appointment' </FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">and ea.value_type =3D 333</FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">and e.event_id =3D ea.parent_id</FONT> <BR> =
= = = = <FONT SIZE=3D2 =FACE=3D"Arial">and e.start_time - to_date(:9,'MM/DD/YYYY') >=3D0 = = </FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">)as appt,</FONT>
= = = <FONT SIZE=3D2 =FACE=3D"Arial">(SELECT MIN(iia.comments) FROM invoice_item_adjust iia = WHERE parent_id =3D</FONT>
= = = <FONT SIZE=3D2 =FACE=3D"Arial"> (SELECT MIN(item_id) FROM invoice_item ii WHERE = ii.parent_id =3D i.invoice_id AND</FONT></P>
<P> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial"> ii.item_type in (0,1,2) )</FONT> <BR> =
= = = <FONT SIZE=3D2 =FACE=3D"Arial">) as =
= = </FONT><BR> =
= = <FONT SIZE=3D2 =FACE=3D"Arial">FROM transaction t ,invoice i</FONT> <BR> =
= = <FONT SIZE=3D2 =FACE=3D"Arial">WHERE t.trans_type =3D 9520</FONT> <BR> =
= = <FONT SIZE=3D2 =FACE=3D"Arial">AND t.trans_status =3D 2</FONT> <BR> =
= = <FONT SIZE=3D2 =FACE=3D"Arial">AND t.trans_subtype =3D = 'Owner'</FONT>
![]() |
![]() |