BambooHR

Number of time off requests by type

SQL query for BambooHR

This query will return the number of time off requests for each time off type.

SELECT timeoff_type, COUNT(*) FROM timeoff_requests JOIN timeoff_types ON timeoff_requests.timeoff_type_id = timeoff_types.timeoff_type_id GROUP BY timeoff_type

BambooHR data model

BambooHR
Table Employees Directory

BambooHR
Table Employee Dependents

BambooHR
Table Employee Last Change

BambooHR
Table Company Categories

BambooHR
Table Timeoff Types

BambooHR
Table Timeoff Policies

BambooHR
Table Timeoff Requests

BambooHR
Table Job Summaries

BambooHR
Table Hiring Leads

BambooHR
Table Application Statuses

BambooHR
Table Applications

Use SQL on all your SaaS data

Magical SQL for BambooHR 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.

Peliqan Ask AI willl write your SQL queries from plain English

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.