Salesforce

Closed deals by owner

SQL query for Salesforce

Get closed deals by owner from Salesforce data.

SELECT Owner, COUNT(*) as Closed_Deals FROM Deals WHERE Status = ‘Closed’ GROUP BY Owner

Salesforce data model

Salesforce
Table Account

Salesforce
Table Campaign

Salesforce
Table Case

Salesforce
Table Contact

Salesforce
Table Contract

Salesforce
Table Invoice

Salesforce
Table Invoice Line

Salesforce
Table Identity Verification Event

Salesforce
Table Legal Entity

Salesforce
Table Lead

Salesforce
Table Lead Status

Salesforce
Table Login Event

Salesforce
Table Opportunity

Salesforce
Table Opportunity Line Item

Salesforce
Table Order

Salesforce
Table Order Item

Salesforce
Table Organization

Salesforce
Table Partner

Salesforce
Table Payment

Salesforce
Table Payment Method

Salesforce
Table Payment Line Invoice

Salesforce
Table Pricebook

Salesforce
Table Pricebook Entry

Salesforce
Table Refund

Salesforce
Table Task

Salesforce
Table User Login

Salesforce
Table Work Order Line Item

SQL - Combine data

Magical SQL for Salesforce with Peliqan.io

Explore data in a rich spreadsheet UI. Use Magical SQL to combine and transform data. SQL queries become new tables that can be shared with business users and used in any BI tool such as Microsoft Power BI, Tableau or Metabase.

Let AI do the work for you

Let AI do the work for you

Peliqan’s AI assistant helps you to write SQL queries to get to insights fast. Ask your question in plain English and immediately see the result in Peliqan’s rich spreadsheet viewer.

Security is our priority

SOC2 Type 1 certified

SOC 2 Type 1 certification (Type 2 in progress) validates our security controls, ensuring your data is protected by independently audited security measures.

ISO 27001 certification (in progress) ensures enterprise-grade information security, protecting your business with globally recognized standards.

GDPR

GDPR compliance guarantees EU data protection compliance, keeping PII data secure within EU boundaries.

Peliqan Overview

Ready to get instant access to
all your company data ?