I hope I can explain this clearly: I have two tables with the following structures:
TABLE A{id, source, url}
TABLE A2{matchid,matchsource,matchurl,country,lang}
and I have a join on them:
TABLE B{id,source,url,matchid,matchsource,matchurl,country,lang}
Table B is a join of A with A2 where for each record in A there are matching records with the same url in A2. Now I would like to display the data as follows eg
100 google www.google.com 200 google blog www.gblog.com USA english
201 google news www.gnews.com USA english
instead of
100 google www.google.com 200 google blog www.gblog.com USA english
100 google www.google.com 201 google news www.gnews.com USA english
of which there are hundreds of matching recs.
Is this possible? Since I need to display the records with the first match for each record in table A