Skip to main content

Peliqan

Unleashed ERP

Total sales by product

SQL query for Unleashed ERP

Calculate the total sales for each product.

SELECT products.productName, SUM(SalesOrders.total) AS total_sales FROM products JOIN SalesOrders ON products.productID = SalesOrders.productID GROUP BY products.productName

Unleashed ERP data model

Unleashed ERP
Suppliers

Unleashed ERP
Assemblies

Unleashed ERP
Bill Of Materials

Unleashed ERP
Products

Unleashed ERP
Product Prices

Unleashed ERP
Stock On Hand

Unleashed ERP
Customers

Unleashed ERP
Accounts

Unleashed ERP
Sales Orders

Unleashed ERP
Purchase Orders

Unleashed ERP
Warehouses

Unleashed ERP
Product Groups

Unleashed ERP
Currencies

Unleashed ERP
Taxes

Unleashed ERP
Sales Shipments

Unleashed ERP
Stockonhand Warehouses

Ready to get instant access to all your company data ?​

Connect 300+ sources, serve any BI tool, and give every AI agent one governed endpoint to read, and write back where the app supports it.