We have the following table:
ID Staff ItemName Price Qnt Cost 1 John Book 5 3 15 2 Mori pencil 6 7 42 3 Tom Book 7 4 28 4 Tom paper 10 6 60 5 Mori paper 10 3 30 6 John pencil 6 2 12 7 John Book 5 1 5 8 Mori paper 10 8 80 9 Mori pencil 6 4 24 10 Mori ink 12 3 36
Can I get the following result in a query?
Staff Cost John 32 Mori 212 Tom 88
I hope i find a solution for this in this forum.
thank you