Changes between Version 14 and Version 15 of AdvancedReports
- Timestamp:
- 02/28/23 13:43:37 (21 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AdvancedReports
v14 v15 7 7 left join project.invoicedarticles i2 on i2.articleid=a.articleid 8 8 where i2.price*i2.quantity=max(ba.totalPrice) and i2.invoiceid = min(ti.invoiceid) 9 limit 1) as topArticleName,9 ) as topArticleName, 10 10 (select i2.price from project.articles a 11 11 left join project.invoicedarticles i2 on i2.articleid=a.articleid 12 12 where i2.price*i2.quantity=max(ba.totalPrice) and i2.invoiceid = min(ti.invoiceid) 13 limit 1) as topArticlePrice,13 ) as topArticlePrice, 14 14 (select i2.quantity from project.articles a 15 15 left join project.invoicedarticles i2 on i2.articleid=a.articleid 16 16 where i2.price*i2.quantity=max(ba.totalPrice) and i2.invoiceid = min(ti.invoiceid) 17 limit 1) as topArticleQuantity,17 ) as topArticleQuantity, 18 18 max(ba.totalPrice) as topArticleTotalPrice from project.workers w 19 19 left join project.users u on u.userid=w.userid