I need to produce a query...
One of the tables contains data like this...
Fm Type
--- -----
186 MM
186 BO
186 CP
I only want the first occurance. If the type is MM I want it and then move on, else IF it's "BO" I want the record, then move on, else if its CP I want it.
I am trying to do this in the query analyzer.
Any ideas.
One of the tables contains data like this...
Fm Type
--- -----
186 MM
186 BO
186 CP
I only want the first occurance. If the type is MM I want it and then move on, else IF it's "BO" I want the record, then move on, else if its CP I want it.
I am trying to do this in the query analyzer.
Any ideas.