Query generated by SpagoBI 5.2
Working fine.
select
samplefact0_.[id] as Id,
samplefact0_.[quantity] as Quantity,
book1_.[name] as Name,
author2_.[name] as Name
from
[DemoDB].[dbo].[samplefacttable] samplefact0_ cross
join
[DemoDB].[dbo].[book] book1_ cross
join
[DemoDB].[dbo].[author] author2_
where
samplefact0_.[bookfk]=book1_.[id]
and samplefact0_.[authorfk]=author2_.[id]
Query generated by Knowage
select
samplefact0_.[id] as Id,
samplefact0_.[quantity] as Quantity,
author1_.[name] as Name,
book2_.[name] as Name
from
[DemoDB].[samplefacttable] samplefact0_ cross
join
[DemoDB].[author] author1_ cross
join
[DemoDB].[book] book2_
where
samplefact0_.[bookfk]=book2_.[id]
and samplefact0_.[authorfk]=author1_.[id]