I have two table
table A
add1 |add2 | add3
1 |2 |3
another table B contains what the add1,add2,add3 means
table B
add1 | add2 | add3 |
Caption1 | Caption2 | Caption3
I want to display like
Caption | Value
Caption1 | 1
Caption2 | 2
Caption3 | 3
or
Caption1 | Caption2 | Caption3
1 | 2 | 3
how can do this in mysql ? If it is not possible pls suggest a better structure for this need. Every month the caption may be changed.