Skip to main content

Peliqan

TripleTex

Top Selling Products

SQL query for TripleTex

Retrieve the top 10 best-selling products based on the total quantity sold.

SELECT p.product_name, SUM(ol.quantity) AS total_quantity_sold FROM products p INNER JOIN orderlines ol ON p.product_id = ol.product_id GROUP BY p.product_name ORDER BY total_quantity_sold DESC LIMIT 10;

TripleTex data model

TripleTex
Activities

TripleTex
Contacts

TripleTex
Departments

TripleTex
Divisions

TripleTex
Employees

TripleTex
Inventory

TripleTex
Pension

TripleTex
Products

TripleTex
Projects

TripleTex
Balance Sheet

TripleTex
Invoices

TripleTex
Ledger

TripleTex
Order

TripleTex
Supplier Invoice

TripleTex
Travel Expense

TripleTex
Customers

TripleTex
Supplier

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.