Hi All,
In my main datasource, data is fetched from table a(which has primary key as a_id)
table b has column a_id which is foreing key to a_id of table a
table c has b.name which is present in table b as well as foreign key
we want a variable which does group_concat(table_c.b.name) as variable in ds.xml of table_a,
the sql query for the same looks like this
Select
group_concat(table_c.b.name)from table_a
LEFT OUTER JOIN table_b b on table_a.a_id=table_b.a.id
LEFT OUTER JOIN table_c c on table_b.b_name=table_c.b_name
How can we fetch the variable evaluated from "group_concat(table_c.b.name)" in ds.xml?
In my main datasource, data is fetched from table a(which has primary key as a_id)
table b has column a_id which is foreing key to a_id of table a
table c has b.name which is present in table b as well as foreign key
we want a variable which does group_concat(table_c.b.name) as variable in ds.xml of table_a,
the sql query for the same looks like this
Select
group_concat(table_c.b.name)from table_a
LEFT OUTER JOIN table_b b on table_a.a_id=table_b.a.id
LEFT OUTER JOIN table_c c on table_b.b_name=table_c.b_name
How can we fetch the variable evaluated from "group_concat(table_c.b.name)" in ds.xml?
Comment