Forum Moderators: coopster
Once you get the row info, I'd make a query asking for the rows who have that C2 and C3) I would put the rows into an array that controls that are repeated and when checking the following row, this row would be jumped if it has already been registered.
The process would be the following...
Getting info of 1 1 133 bajs
Query for it giving 1 and 4, adding for to arrays that checks they are repeated.
Info for 2... Query for 2... Nothing
Info for 3... Query for 3... Nothing
4...The row has been processing jumping to 5.
Hope this helps, it's not what you were asking for but I think this cannot be done in a single query.