I have two tables named
style:
=================== id | style =================== 1 | x =================== 2 | y
size :
=========================================== id | size_name | style_id | Quantity =========================================== 1 | 2T | 1 | 200 =========================================== 2 | 3T | 1 | 100 =========================================== 3 | 4T | 2 | 250 =========================================== 4 | 2T | 2 | 500
Using this two tables I want a report like below:
============================================= Style | size ============================================= | 2T | 3T | 4T | ============================================= x | 200 | 100 | 0 | ============================================= y | 500 | 0 | 250 |
Thanks in advance.Please help