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