Changes between Version 14 and Version 15 of AdvancedReports


Ignore:
Timestamp:
02/28/23 13:43:37 (21 months ago)
Author:
201065
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdvancedReports

    v14 v15  
    77    left join project.invoicedarticles i2 on i2.articleid=a.articleid
    88    where i2.price*i2.quantity=max(ba.totalPrice) and i2.invoiceid = min(ti.invoiceid)
    9     limit 1) as topArticleName,
     9    ) as topArticleName,
    1010(select i2.price  from project.articles a
    1111    left join project.invoicedarticles i2 on i2.articleid=a.articleid
    1212    where i2.price*i2.quantity=max(ba.totalPrice) and i2.invoiceid = min(ti.invoiceid)
    13     limit 1) as topArticlePrice,
     13    ) as topArticlePrice,
    1414(select i2.quantity from project.articles a
    1515    left join project.invoicedarticles i2 on i2.articleid=a.articleid
    1616    where i2.price*i2.quantity=max(ba.totalPrice) and i2.invoiceid = min(ti.invoiceid)
    17     limit 1) as topArticleQuantity,
     17    ) as topArticleQuantity,
    1818max(ba.totalPrice) as topArticleTotalPrice from project.workers w
    1919        left join project.users u on u.userid=w.userid