arravalli12
Programmer
I have a table.
my original query was:
SELECT CDE_NO, STR_NO, AVL_BAL
FROM table
WHERE STR_NO in (2250,2211) order by cde_no
code# , store#, avl_bal.
86 2250 5
86 2210 2
87 2250 5
88 2250 1
88 2210 5
Now I have to compare my inventories on stores 2250 and 2210
and display in the following format;
code# store2250 Bal store2210 bal
------------------------------------
86 5 2
87 5
88 1 5
I tried but could not get that format. I will appreciate if can get quick help.
Thanks
my original query was:
SELECT CDE_NO, STR_NO, AVL_BAL
FROM table
WHERE STR_NO in (2250,2211) order by cde_no
code# , store#, avl_bal.
86 2250 5
86 2210 2
87 2250 5
88 2250 1
88 2210 5
Now I have to compare my inventories on stores 2250 and 2210
and display in the following format;
code# store2250 Bal store2210 bal
------------------------------------
86 5 2
87 5
88 1 5
I tried but could not get that format. I will appreciate if can get quick help.
Thanks