There is a table with columns brand, code, name, po1, price, pos2. It is necessary to select from the table rows that have brand + code repeated no more than 2 times. Original table MKT 100 vagon 12 14.3 2 MKT 100 vagon2 13 14.3 22 MKT 100 vagon3 14 14.3 21 MKT 100 vagon4 15 14.3 2 AKT 150 cars 12 14.3 2 KVG 120 tops 12 14.3 2
We must get the MKT 100 vagon 12 14.3 2 MKT 100 vagon2 13 14.3 22 AKT 150 cars 12 14.3 2 KVG 120 tops 12 14.3 2