BI Publisher (MOSC)

MOSC Banner

issue with mysql query

edited Oct 12, 2012 7:51AM in BI Publisher (MOSC) 8 commentsAnswered
hi,When I try to write a query pointing to a Mysql database, I get an error message whenever I want to list 2 table fields in a join which share the same column name.
example:
select
a.name as name1,
b.name as name2
FROM
table1 a
join table2 b

Once I click OK to close the EDIT DATASET popup, I get the following popup error message:
Following Columns are duplicated:name.
If you want select duplicated columns, please use expression elements with uniquename and select the element that you want to duplicate.


Of course if I remove one of the 2 columns, I can run the query successfully.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center