GeoDynamics

Average number of clockings per person

SQL query for GeoDynamics

Calculate the average number of clockings per person in the clockings table.

SELECT person_id, AVG(clocking_count) FROM (SELECT person_id, COUNT(*) AS clocking_count FROM clockings GROUP BY person_id) AS subquery GROUP BY person_id

GeoDynamics data model

GeoDynamics
Table Resource Types
Name: String
Resource_Type: Number

GeoDynamics
Table Resourcegroups

GeoDynamics
Table Resources

GeoDynamics
Table Vehicles

GeoDynamics
Table Timeclocks

GeoDynamics
Table Point Of Interests

GeoDynamics
Table Poigroup

GeoDynamics
Table Poitype

GeoDynamics
Table Rfidtags

GeoDynamics
Table Mobile Rfid Scanners

GeoDynamics
Table Smartphones

GeoDynamics
Table Users

GeoDynamics
Table Overtimeconfigs

GeoDynamics
Table Clockings

GeoDynamics
Table Costcenters

GeoDynamics
Table Costcenter Validators

GeoDynamics
Table Day Programs

GeoDynamics
Table Assets

GeoDynamics
Table Asset Locations

GeoDynamics
Table Asset Inspection Types

GeoDynamics
Table Asset Identifications

GeoDynamics
Table Absencetypes

GeoDynamics
Table Access Schedules

GeoDynamics
Table Access Schedules Exceptions

GeoDynamics
Table Accessgroups

GeoDynamics
Table Access Locations

GeoDynamics
Table Maintenance

GeoDynamics
Table Vehicle Maintenance Tasks

GeoDynamics
Table Maintenance Types

GeoDynamics
Table Badges

GeoDynamics
Table Btw Numbers

GeoDynamics
Table Persons

GeoDynamics
Table Persons Limosa

GeoDynamics
Table Workplaces

GeoDynamics
Table Project Leads

GeoDynamics
Table Registrations

GeoDynamics
Table Mobileclocking Optionlist

GeoDynamics
Table Mobileclocking Multijoblist

GeoDynamics
Table Fleet Fuelsensors

SQL - Combine data

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

Peliqan Overview

Ready to get instant access to
all your company data ?