
September 30th, 2003, 10:47 AM
|
|
Contributing User
|
|
Join Date: Sep 2003
Posts: 73
Time spent in forums: 56 m 52 sec
Reputation Power: 6
|
|
|
want to get rid of a sequence
i have a query that im having trouble with. in my results for the table look like this:
sequence     type
------------   -----
1   proj
1     ro-1
1       ro-2
2     ro-2
2     ro-1
if a sequence has a type "proj" associated with it, i do not want to display it. in this case, i only want to display sequence "2"
the query i have is:
select distinct seq, type from wotable where type <> 'proj' order by seq
right now, it displays the sequence "1" and just displays the type "ro-1" instead of project.
is there a way to display just the sequence "2" in this case?
Last edited by aliaga61 : September 30th, 2003 at 10:50 AM.
|