Skip to main content

Peliqan

TripleTex

Total travel expenses by department

SQL query for TripleTex

Calculate the total travel expenses for each department.

SELECT d.department_name, SUM(te.amount) AS total_travel_expenses FROM departments d JOIN travelExpense te ON d.department_id = te.department_id GROUP BY d.department_name

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.