Hi all,
I want to create a report that shows where we have our customers.
I have a table that looks like this:
CustId CustName Locality
1 A A
2 A B
3 A C
4 B A
5 B B
6 C A
I want to create a report that look like this:
CustName Locality1 Locality2 Locality3 LocalityX
A A B C
B A B
C A
How can I write the correct SQL-syntax for this?
/Kent J.
I want to create a report that shows where we have our customers.
I have a table that looks like this:
CustId CustName Locality
1 A A
2 A B
3 A C
4 B A
5 B B
6 C A
I want to create a report that look like this:
CustName Locality1 Locality2 Locality3 LocalityX
A A B C
B A B
C A
How can I write the correct SQL-syntax for this?
/Kent J.