In my first table A, I am having data which i need to display, but displaying order would be differnt from the one here . Display order depends on position in the second table B. I want the field having lowest position comes first and with name price
Field_21 Field_31 field_41
112 wed www
111 tue dse
123 sun edwd
Name POSITION Name
Field_31 2 ask
Field_21 1 bid
Field_41 0 price
Final Data would be like
price bid ask
www 112 wed
dse 111 tue
edwd 123 sun