4 rows where "updated_at" is on date 2021-03-04 and workout_id = 105 sorted by duration descending

View and edit SQL

Suggested facets: created_at (date), date (date)

workout_id

updated_at (date)

  • 2021-03-04 · 4
id created_at updated_at deleted_at workout_id type date duration ▲ duration_unit
550 2021-03-04 17:19:51.20304+03:00 2021-03-04 17:19:51.20304+03:00   105 105 HKWorkoutEventTypeSegment 2019-09-04 17:41:33+03:00 31.25344874660174 min
551 2021-03-04 17:19:51.2031+03:00 2021-03-04 17:19:51.2031+03:00   105 105 HKWorkoutEventTypeSegment 2019-09-04 17:50:53+03:00 21.9302812854449 min
548 2021-03-04 17:19:51.202879+03:00 2021-03-04 17:19:51.202879+03:00   105 105 HKWorkoutEventTypeSegment 2019-09-04 17:20:23+03:00 16.28345149358114 min
549 2021-03-04 17:19:51.202984+03:00 2021-03-04 17:19:51.202984+03:00   105 105 HKWorkoutEventTypeSegment 2019-09-04 17:36:40+03:00 14.21895180344582 min

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE `health_workout_events` (`id` integer,`created_at` datetime,`updated_at` datetime,`deleted_at` datetime,`workout_id` integer,`type` text,`date` datetime,`duration` real,`duration_unit` text,PRIMARY KEY (`id`),CONSTRAINT `fk_health_workouts_events` FOREIGN KEY (`workout_id`) REFERENCES `health_workouts`(`id`));
CREATE UNIQUE INDEX `health_workout_events_key` ON `health_workout_events`(`workout_id`,`type`,`date`);
CREATE INDEX `idx_health_workout_events_deleted_at` ON `health_workout_events`(`deleted_at`);