I have data like this:
ID | Name | Points |
1 | Ronnie | 20 |
3 | Rene |22 |
6 | Tyrza |30 |
7 | Lynda |44 |
10| Edwin |10 |
11| Eddy | 77 |
12| Toni | 10 |
How to query so I can have result like this (groupped by 2s):
Ronnie, Rene | 42
Tyrza, Lynda | 74
Edwin, Eddy | 87
Toni | 10...
I need your help ....
I have a table which name is tblQty with this fields:
|Source|Target|Product|Quantity|
I want to get the total stocks. Which currently I subtract the SUM result of quantity from target to source as STOCK IN with the SUM result of quantity from source to target as STOCK...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.