Question
Unique recordset
First I must appologize as this is somewhat a repost. I don't
believe I posted what my problem was well enough so I am going to
try again.
I have a table that looks like this
prodid catid modlid slsid
16 sew 1 1
16 vac 1 1
16 air 1 1
17 air 1 1
17 vac 1 1
17 vac 1 1
What I want to output would be this: I want to display a unique recordset base on filtering out the duplicate records in the prodid column only.
prodid catid modlid slsid
16 sew 1 1
17 air 1 1
It does not matter which of the duplicate prodid rows the output would display. How can I do this inside of a cfquery so that the query only returns 2 rows instead of 6?
I have a table that looks like this
prodid catid modlid slsid
16 sew 1 1
16 vac 1 1
16 air 1 1
17 air 1 1
17 vac 1 1
17 vac 1 1
What I want to output would be this: I want to display a unique recordset base on filtering out the duplicate records in the prodid column only.
prodid catid modlid slsid
16 sew 1 1
17 air 1 1
It does not matter which of the duplicate prodid rows the output would display. How can I do this inside of a cfquery so that the query only returns 2 rows instead of 6?
