Hi!
I’m having a problem with a SQL query. I have two database tables Customer and CustomerClassification.
Customer table contains information like name, address, phone etc.
CustomerClassification contains other information about the customer like hobbies and other interests. One Customer may have several rows in CustomerClassification!
I would like to select customer information with his/her classification(s) within a single query and i would like to receive only one row for each customer. The last column (Classification) should contain all the classifications for the customer.
The result should look like:
CustomerName Address Phone Classification
Row1: Abrahamson, Arne Street1 13456 Baseball
Golf Pizza
Row2: Abrahamson, Berit Street1 12456 Comedies
Meet balls
Is this possible? Any ideas?
Thanks in advance!
I’m having a problem with a SQL query. I have two database tables Customer and CustomerClassification.
Customer table contains information like name, address, phone etc.
CustomerClassification contains other information about the customer like hobbies and other interests. One Customer may have several rows in CustomerClassification!
I would like to select customer information with his/her classification(s) within a single query and i would like to receive only one row for each customer. The last column (Classification) should contain all the classifications for the customer.
The result should look like:
CustomerName Address Phone Classification
Row1: Abrahamson, Arne Street1 13456 Baseball
Golf Pizza
Row2: Abrahamson, Berit Street1 12456 Comedies
Meet balls
Is this possible? Any ideas?
Thanks in advance!