Skip to main content

Peliqan

IFS ERP

Customer age distribution

SQL query for IFS ERP

Show the distribution of customer ages in the customer_entity_info table.

SELECT FLOOR(DATEDIFF(CURRENT_DATE, birth_date) / 365) as age, COUNT(*) as total_customers FROM customer_entity_info GROUP BY age ORDER BY age

IFS ERP data model

IFS ERP
Customer Entity Info

IFS ERP
Iso Country Entityset

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.