Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Select help -- distinguishing between identical names
Hello,
I am using Oracle 8.1.7 for Solaris. I have a table with the following structure ...
DISTRICT_NAME DISTRICT_ID
------------- -----------
Austin 30 Laredo 18 Wylie 28 Wylie 14
I would like to write a select statement that returns all the district names so that each is unambiguous. So a statement like "SELECT DISTRICT_NAME FROM DISTRICT_TABLE" would return
DISTRICT_NAME
which is ambiguous (Wylie is there twice). I would prefer a query that did something of the following...
DISTRICT_NAME
Any ideas, Thanks, Dave Received on Wed May 08 2002 - 10:06:50 CDT
![]() |
![]() |