Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

select data from 2 tables with condition

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am using the sql statement below to retrieve the service no that are not exist in assigned_svcno table.

SQL Statement
select disp_s_no from eba.svcno_available s where cust_id='002' and not exists (select service_no from eba.assigned_svcno where cust_id='002' and service_no = s.disp_s_no)

I try to achieve the same result in crystal report but cannot display the service number. I can only get the service no that appeared in both table.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top