Skip to main content

Peliqan

Simplicate

Total sales amount for each project

SQL query for Simplicate

Get the total sales amount for each project.

SELECT pr.name AS project_name, SUM(s.amount) AS total_sales_amount FROM projects pr LEFT JOIN sales s ON pr.id = s.project_id GROUP BY pr.id

Simplicate data model

Simplicate
Organization Industries

Simplicate
Organizations

Simplicate
Organization Sizes

Simplicate
Person Genders

Simplicate
Relation Types

Simplicate
Employee Civil Statuses

Simplicate
Employee Contract Types

Simplicate
Employee Types

Simplicate
Employment Types

Simplicate
Employees

Simplicate
Webhooks

Simplicate
Webhook Logs

Simplicate
Countries

Simplicate
Persons

Simplicate
Sales

Simplicate
Sales Services

Simplicate
Sales Service Hour Types

Simplicate
Sales Service Cost Types

Simplicate
Vatcodes

Simplicate
Costtypes

Simplicate
Deafult Services

Simplicate
Revenuegroup

Simplicate
Organization Profiles

Simplicate
Hour Types

Simplicate
Webhook Actions

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.