i am having 3 tables. like
hpd_helpdesk
shr_association
ast_asset
i created report using the below query, my problem is if asset_id is having mutiple assets then in the report cases are repeating.
select
h.case_id_ ,h.status,h.priority ,h.TICKET_TYPE ,a.ASSET_ID_
From hpd_helpdesk h ,shr_association sc ,ast_asset a
where h.case_id_ = sc.id_1 and sc.id_2 = a.ENTRY_ID and h.case_id_ = '&Ticket'
For example if ticket no 120 having Multiple assets like
case_id =10000, asset_id = {abc,xyz}
then report is coming like
Case Id Status Priority Ticket Type Asset id
======================================================
10000 1 2 3 abc
10000 1 2 3 xyz
my problem is i want to display only one record.
Can anybody help in this how i can create report for the above.