I'm new to writing queries in SQL and looking for some tips
I ran a query that resulted in the table below:
Company Name | Seller | Investor | Date |
---|---|---|---|
App | SellerX | InvestorA | 01/01/2000 |
App | SellerX | InvestorB | 01/01/2000 |
Phone | SellerY | InvestorC | 09/08/2000 |
Phone | SellerY | InvestorD | 09/08/2000 |
Phone | SellerY | InvestorE | 09/08/2000 |
And I would like my results to look like this:
Company Name | Seller | Investor | Date |
---|---|---|---|
App | SellerX | InvestorA,InvestorB | 01/01/2000 |
Phone | SellerY | InvestorC,InvestorD,InvestorE | 09/08/2000 |
Anyone can help on the best way to do this?
Thanks!!