How to get distinct values?

To discuss Oracle Forms & Reports related technical issues.
Post Reply
nadia
Posts: 15
Joined: Mon May 14, 2007 1:26 am
Location: Syria

How to get distinct values?

Post by nadia »

Hi,
I've a report query and i want to get the distinct values of each column in this query, is there a way to do this?
I've oracle 10g and reports 6i.
Regards
admin
Posts: 2063
Joined: Fri Mar 31, 2006 12:59 am
Location: Pakistan
Contact:

Post by admin »

Use distinct in your query,

Select distinct id, name from employees;
nadia
Posts: 15
Joined: Mon May 14, 2007 1:26 am
Location: Syria

Post by nadia »

Hi,
Thanks for your reply.
I want the unique values for each column separately. The output will be like this :

IND_TIME_YEAR: 2007, 2008
IND_TIME_MONTH: 1,2,3,7,8
CON_ID: 123,234,345
GVN_ID: 098,087

Regards,
mirza_rehan
Posts: 132
Joined: Sun Apr 02, 2006 10:36 am
Location: Pakistan

Post by mirza_rehan »

Asslaam-o-Alaikum,

Nadia sorry for late reply.


please send me yours table structure and also send me report format and required columns


regards
Rehan Mirza
+971-50-1792629
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests