Posts in SQL- Module Acquisitions

Dépenses par poste budgétaire

SELECT b.budget_name, format(sum(o.listprice*o.quantity),2) AS ‘amount spent’ FROM aqorders o LEFT JOIN aqbudgets b USING (budget_id) WHERE o.datereceived[…]

Nombre de monographies acquises par achat l’année précédente triées par notice (ESGBU)

MO : Monographie CO : Ouvrage Concours OR : Ouvrage Référence SU : Suites US : Usuels[…]