Hi!
My query is this -
I have 3 columns.
Barcode | Product Type | Product Name | Colour
1234567890123 | AAA | Example1 | White
1234567890124 | AAA | Example1 | Black
1234567890125 | AAA | Example1 | Red
1234567890126 | AAA | Example2 | Purple
1234567890127 | AAA | Example2 | Orange
1234567890128 | AAA | Example2 | Blue
1234567890129 | BBB | Example3 | Green
1234567890130 | BBB | Example3 | Yellow
1234567890131 | BBB | Example3 | Pink
1234567890132 | BBB | Example4 | Grey
1234567890133 | BBB | Example4 | Bright Green
1234567890134 | BBB | Example4 | Navy Blue
I wish to group each product by Product Type and Product Name but I only want 1 bar code showing, doesn't matter which one, and I don't care about the colour.
How can I have a query just select 1 barcode so the data would look like the following?
Barcode | Product Type | Product Name
1234567890123 | AAA | Example1
1234567890126 | AAA | Example2
1234567890129 | BBB | Example3
1234567890132 | BBB | Example4
My query is this -
I have 3 columns.
Barcode | Product Type | Product Name | Colour
1234567890123 | AAA | Example1 | White
1234567890124 | AAA | Example1 | Black
1234567890125 | AAA | Example1 | Red
1234567890126 | AAA | Example2 | Purple
1234567890127 | AAA | Example2 | Orange
1234567890128 | AAA | Example2 | Blue
1234567890129 | BBB | Example3 | Green
1234567890130 | BBB | Example3 | Yellow
1234567890131 | BBB | Example3 | Pink
1234567890132 | BBB | Example4 | Grey
1234567890133 | BBB | Example4 | Bright Green
1234567890134 | BBB | Example4 | Navy Blue
I wish to group each product by Product Type and Product Name but I only want 1 bar code showing, doesn't matter which one, and I don't care about the colour.
How can I have a query just select 1 barcode so the data would look like the following?
Barcode | Product Type | Product Name
1234567890123 | AAA | Example1
1234567890126 | AAA | Example2
1234567890129 | BBB | Example3
1234567890132 | BBB | Example4