I have one Sales table: the attributes are:
- date
- time
- company name
- Item
- Price
- Payment mode
I want to group by the company name and list the payment modes received by that company.
Company Name Payment mode
1.LG Cash,debit,credit
2.Sabre debit,credit
Tried executing the following:
select company name,payment mode from sales group by company name