Hi,
I have 2 tables A & B
CREATE TABLE tst.tableB(id int,code_ varchar(30));
CREATE TABLE tst.tableA(id int,code_ varchar(30));
A and B have the join column id.
the value in A:
id |code_|
-- |-----|
1 |a1 |
2 |a2|
the value in B:
id |code_|
-- |-----|
1 |b1 |
1 |b2 |
I want the result of the select query looks like this:
b1 | b2
-- |----
a1|a2
I need a dynamic header column from the b table, the hander can be changed in each select query.
Does anyone have an idea how to do this?
Question
Dynamic Header Column When Exec Query
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.


, I add now a better example of my problem:


