312.68 ms (93.13%)
|
251 |
SELECT m0_.body_parts AS body_parts_0, m0_.is_on_avatar AS is_on_avatar_1, m0_.lft AS lft_2, m0_.lvl AS lvl_3, m0_.rgt AS rgt_4, m0_.id AS id_5, m0_.created_at AS created_at_6, m0_.updated_at AS updated_at_7, m0_.published AS published_8, m0_.published_at AS published_at_9, m0_.notes AS notes_10, m0_.reference AS reference_11, (SELECT COUNT(*) FROM training_exercise_muscle t1_ WHERE t1_.muscle_id = m0_.id) AS sclr_12, m0_.tree_root AS tree_root_13, m0_.parent_id AS parent_id_14, m0_.created_by_id AS created_by_id_15, m0_.updated_by_id AS updated_by_id_16, m0_.publisher AS publisher_17 FROM muscle m0_ WHERE m0_.published = ? AND m0_.reference IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY sclr_12 DESC
Parameters: [
1
"chest"
"quadriceps"
"calves"
"abdominals"
"oblique-abdominals"
"biceps"
"biceps-longus-supinator"
"biceps-brachii"
"forearm"
"shoulders"
"anterior-deltoid"
"lateral-deltoid"
"posterior-deltoid"
"adductors"
"trapezius"
"gluteus"
"back"
"large-dorsal"
"dentele-anterior"
"ramboids"
"hamstrings"
"triceps"
"triceps-chief-longus"
"triceps-medial-head"
"triceps-chief-lateral"
"lower-back"
]
SELECT
m0_.body_parts AS body_parts_0,
m0_.is_on_avatar AS is_on_avatar_1,
m0_.lft AS lft_2,
m0_.lvl AS lvl_3,
m0_.rgt AS rgt_4,
m0_.id AS id_5,
m0_.created_at AS created_at_6,
m0_.updated_at AS updated_at_7,
m0_.published AS published_8,
m0_.published_at AS published_at_9,
m0_.notes AS notes_10,
m0_.reference AS reference_11,
(
SELECT
COUNT(*)
FROM
training_exercise_muscle t1_
WHERE
t1_.muscle_id = m0_.id
) AS sclr_12,
m0_.tree_root AS tree_root_13,
m0_.parent_id AS parent_id_14,
m0_.created_by_id AS created_by_id_15,
m0_.updated_by_id AS updated_by_id_16,
m0_.publisher AS publisher_17
FROM
muscle m0_
WHERE
m0_.published = ?
AND m0_.reference IN (
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?
)
ORDER BY
sclr_12 DESC
SELECT m0_.body_parts AS body_parts_0, m0_.is_on_avatar AS is_on_avatar_1, m0_.lft AS lft_2, m0_.lvl AS lvl_3, m0_.rgt AS rgt_4, m0_.id AS id_5, m0_.created_at AS created_at_6, m0_.updated_at AS updated_at_7, m0_.published AS published_8, m0_.published_at AS published_at_9, m0_.notes AS notes_10, m0_.reference AS reference_11, (SELECT COUNT(*) FROM training_exercise_muscle t1_ WHERE t1_.muscle_id = m0_.id) AS sclr_12, m0_.tree_root AS tree_root_13, m0_.parent_id AS parent_id_14, m0_.created_by_id AS created_by_id_15, m0_.updated_by_id AS updated_by_id_16, m0_.publisher AS publisher_17 FROM muscle m0_ WHERE m0_.published = 1 AND m0_.reference IN ('chest', 'quadriceps', 'calves', 'abdominals', 'oblique-abdominals', 'biceps', 'biceps-longus-supinator', 'biceps-brachii', 'forearm', 'shoulders', 'anterior-deltoid', 'lateral-deltoid', 'posterior-deltoid', 'adductors', 'trapezius', 'gluteus', 'back', 'large-dorsal', 'dentele-anterior', 'ramboids', 'hamstrings', 'triceps', 'triceps-chief-longus', 'triceps-medial-head', 'triceps-chief-lateral', 'lower-back') ORDER BY sclr_12 DESC;
|
4.65 ms (1.39%)
|
9 |
SELECT t0.slug AS slug_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.name AS name_5, t0.description AS description_6, t0.locale AS locale_7, t0.created_by_id AS created_by_id_8, t0.updated_by_id AS updated_by_id_9, t0.translatable_id AS translatable_id_10 FROM muscle_translation t0 WHERE t0.translatable_id = ?
SELECT t0.slug AS slug_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.name AS name_5, t0.description AS description_6, t0.locale AS locale_7, t0.created_by_id AS created_by_id_8, t0.updated_by_id AS updated_by_id_9, t0.translatable_id AS translatable_id_10 FROM muscle_translation t0 WHERE t0.translatable_id = 6;
|
3.92 ms (1.17%)
|
1 |
SELECT t0.id AS id_1, t0.token AS token_2, t0.status AS status_3, t0.status_internal AS status_internal_4, t0.public_status AS public_status_5, t0.difficulty AS difficulty_6, t0.focus AS focus_7, t0.execution_type AS execution_type_8, t0.workout_parts AS workout_parts_9, t0.tension_type AS tension_type_10, t0.validate_at AS validate_at_11, t0.is_avatar_default_back_view AS is_avatar_default_back_view_12, t0.grips AS grips_13, t0.is_suggestion AS is_suggestion_14, t0.preferred_gender_view AS preferred_gender_view_15, t0.default_unit AS default_unit_16, t0.side AS side_17, t0.created_at AS created_at_18, t0.updated_at AS updated_at_19, t0.deleted_at AS deleted_at_20, t0.published AS published_21, t0.published_at AS published_at_22, t0.notes AS notes_23, t0.view_counter AS view_counter_24, t0.tiers_id AS tiers_id_25, t0.tiers_name AS tiers_name_26, t0.source AS source_27, t0.source_model AS source_model_28, t0.normalized_name AS normalized_name_29, t0.metaphone_name AS metaphone_name_30, t0.main_exercise_id AS main_exercise_id_31, t0.exercise_group_id AS exercise_group_id_32, t0.suggest_by_id AS suggest_by_id_33, t0.exercise_proposal_id AS exercise_proposal_id_34, t0.created_by_id AS created_by_id_35, t0.updated_by_id AS updated_by_id_36, t0.publisher AS publisher_37 FROM training_exercise t0 WHERE t0.token = ? LIMIT 1
Parameters: [
"6966ca245f7fd"
]
SELECT t0.id AS id_1, t0.token AS token_2, t0.status AS status_3, t0.status_internal AS status_internal_4, t0.public_status AS public_status_5, t0.difficulty AS difficulty_6, t0.focus AS focus_7, t0.execution_type AS execution_type_8, t0.workout_parts AS workout_parts_9, t0.tension_type AS tension_type_10, t0.validate_at AS validate_at_11, t0.is_avatar_default_back_view AS is_avatar_default_back_view_12, t0.grips AS grips_13, t0.is_suggestion AS is_suggestion_14, t0.preferred_gender_view AS preferred_gender_view_15, t0.default_unit AS default_unit_16, t0.side AS side_17, t0.created_at AS created_at_18, t0.updated_at AS updated_at_19, t0.deleted_at AS deleted_at_20, t0.published AS published_21, t0.published_at AS published_at_22, t0.notes AS notes_23, t0.view_counter AS view_counter_24, t0.tiers_id AS tiers_id_25, t0.tiers_name AS tiers_name_26, t0.source AS source_27, t0.source_model AS source_model_28, t0.normalized_name AS normalized_name_29, t0.metaphone_name AS metaphone_name_30, t0.main_exercise_id AS main_exercise_id_31, t0.exercise_group_id AS exercise_group_id_32, t0.suggest_by_id AS suggest_by_id_33, t0.exercise_proposal_id AS exercise_proposal_id_34, t0.created_by_id AS created_by_id_35, t0.updated_by_id AS updated_by_id_36, t0.publisher AS publisher_37 FROM training_exercise t0 WHERE t0.token = '6966ca245f7fd' LIMIT 1;
|
2.91 ms (0.87%)
|
6 |
SELECT t0.slug AS slug_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.name AS name_5, t0.description AS description_6, t0.locale AS locale_7, t0.created_by_id AS created_by_id_8, t0.updated_by_id AS updated_by_id_9, t0.translatable_id AS translatable_id_10 FROM training_category_translation t0 WHERE t0.translatable_id = ?
SELECT t0.slug AS slug_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.name AS name_5, t0.description AS description_6, t0.locale AS locale_7, t0.created_by_id AS created_by_id_8, t0.updated_by_id AS updated_by_id_9, t0.translatable_id AS translatable_id_10 FROM training_category_translation t0 WHERE t0.translatable_id = 56;
|
2.25 ms (0.67%)
|
4 |
SELECT t0.slug AS slug_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.name AS name_5, t0.locale AS locale_6, t0.created_by_id AS created_by_id_7, t0.updated_by_id AS updated_by_id_8, t0.translatable_id AS translatable_id_9 FROM training_exercise_group_translation t0 WHERE t0.translatable_id = ?
SELECT t0.slug AS slug_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.name AS name_5, t0.locale AS locale_6, t0.created_by_id AS created_by_id_7, t0.updated_by_id AS updated_by_id_8, t0.translatable_id AS translatable_id_9 FROM training_exercise_group_translation t0 WHERE t0.translatable_id = 1;
|
1.05 ms (0.31%)
|
2 |
SELECT t0.slug AS slug_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.name AS name_5, t0.description AS description_6, t0.locale AS locale_7, t0.created_by_id AS created_by_id_8, t0.updated_by_id AS updated_by_id_9, t0.translatable_id AS translatable_id_10 FROM training_material_translation t0 WHERE t0.translatable_id = ?
SELECT t0.slug AS slug_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.name AS name_5, t0.description AS description_6, t0.locale AS locale_7, t0.created_by_id AS created_by_id_8, t0.updated_by_id AS updated_by_id_9, t0.translatable_id AS translatable_id_10 FROM training_material_translation t0 WHERE t0.translatable_id = 1;
|
0.72 ms (0.21%)
|
2 |
SELECT COUNT(*) FROM training_exercise_images t WHERE t.exercise_id = ?
SELECT COUNT(*) FROM training_exercise_images t WHERE t.exercise_id = 1838;
|
0.65 ms (0.19%)
|
1 |
SELECT t0.slug AS slug_1, t0.instructions AS instructions_2, t0.short_name AS short_name_3, t0.synonyms AS synonyms_4, t0.guidelines AS guidelines_5, t0.medical_restrictions AS medical_restrictions_6, t0.id AS id_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.name AS name_10, t0.description AS description_11, t0.locale AS locale_12, t0.created_by_id AS created_by_id_13, t0.updated_by_id AS updated_by_id_14, t0.translatable_id AS translatable_id_15 FROM training_exercise_translation t0 WHERE t0.translatable_id = ?
SELECT t0.slug AS slug_1, t0.instructions AS instructions_2, t0.short_name AS short_name_3, t0.synonyms AS synonyms_4, t0.guidelines AS guidelines_5, t0.medical_restrictions AS medical_restrictions_6, t0.id AS id_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.name AS name_10, t0.description AS description_11, t0.locale AS locale_12, t0.created_by_id AS created_by_id_13, t0.updated_by_id AS updated_by_id_14, t0.translatable_id AS translatable_id_15 FROM training_exercise_translation t0 WHERE t0.translatable_id = 1838;
|
0.55 ms (0.16%)
|
1 |
SELECT t0.source AS source_1, t0.zone AS zone_2, t0.url_external AS url_external_3, t0.id AS id_4, t0.notes AS notes_5, t0.tiers_id AS tiers_id_6, t0.tiers_name AS tiers_name_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.file_name AS file_name_10, t0.file_original_name AS file_original_name_11, t0.file_mime_type AS file_mime_type_12, t0.file_size AS file_size_13, t0.file_dimensions AS file_dimensions_14, t0.duration AS duration_15, t0.format AS format_16, t0.start_time AS start_time_17, t0.end_time AS end_time_18, t0.youtube_id AS youtube_id_19, t0.created_by_id AS created_by_id_20, t0.updated_by_id AS updated_by_id_21, t0.media FROM media t0 INNER JOIN training_exercise_videos ON t0.id = training_exercise_videos.video_id WHERE training_exercise_videos.exercise_id = ? AND t0.media IN ('video')
SELECT t0.source AS source_1, t0.zone AS zone_2, t0.url_external AS url_external_3, t0.id AS id_4, t0.notes AS notes_5, t0.tiers_id AS tiers_id_6, t0.tiers_name AS tiers_name_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.file_name AS file_name_10, t0.file_original_name AS file_original_name_11, t0.file_mime_type AS file_mime_type_12, t0.file_size AS file_size_13, t0.file_dimensions AS file_dimensions_14, t0.duration AS duration_15, t0.format AS format_16, t0.start_time AS start_time_17, t0.end_time AS end_time_18, t0.youtube_id AS youtube_id_19, t0.created_by_id AS created_by_id_20, t0.updated_by_id AS updated_by_id_21, t0.media FROM media t0 INNER JOIN training_exercise_videos ON t0.id = training_exercise_videos.video_id WHERE training_exercise_videos.exercise_id = 1838 AND t0.media IN ('video');
|
0.54 ms (0.16%)
|
1 |
SELECT t0.lft AS lft_1, t0.lvl AS lvl_2, t0.rgt AS rgt_3, t0.sections AS sections_4, t0.id AS id_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.published AS published_8, t0.published_at AS published_at_9, t0.notes AS notes_10, t0.reference AS reference_11, t0.tree_root AS tree_root_12, t0.parent_id AS parent_id_13, t0.created_by_id AS created_by_id_14, t0.updated_by_id AS updated_by_id_15, t0.publisher AS publisher_16 FROM training_category t0 WHERE t0.id IN (?, ?, ?, ?, ?, ?)
Parameters: [
67
68
57
56
62
60
]
SELECT t0.lft AS lft_1, t0.lvl AS lvl_2, t0.rgt AS rgt_3, t0.sections AS sections_4, t0.id AS id_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.published AS published_8, t0.published_at AS published_at_9, t0.notes AS notes_10, t0.reference AS reference_11, t0.tree_root AS tree_root_12, t0.parent_id AS parent_id_13, t0.created_by_id AS created_by_id_14, t0.updated_by_id AS updated_by_id_15, t0.publisher AS publisher_16 FROM training_category t0 WHERE t0.id IN (67, 68, 57, 56, 62, 60);
|
0.53 ms (0.16%)
|
1 |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.published AS published_4, t0.published_at AS published_at_5, t0.normalized_name AS normalized_name_6, t0.metaphone_name AS metaphone_name_7, t0.token AS token_8, t0.created_by_id AS created_by_id_9, t0.updated_by_id AS updated_by_id_10, t0.publisher AS publisher_11 FROM training_exercise_group t0 WHERE t0.id IN (?, ?, ?, ?)
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.published AS published_4, t0.published_at AS published_at_5, t0.normalized_name AS normalized_name_6, t0.metaphone_name AS metaphone_name_7, t0.token AS token_8, t0.created_by_id AS created_by_id_9, t0.updated_by_id AS updated_by_id_10, t0.publisher AS publisher_11 FROM training_exercise_group t0 WHERE t0.id IN (2, 4, 17, 1);
|
0.52 ms (0.16%)
|
1 |
SELECT t0.source AS source_1, t0.zone AS zone_2, t0.url_external AS url_external_3, t0.id AS id_4, t0.notes AS notes_5, t0.tiers_id AS tiers_id_6, t0.tiers_name AS tiers_name_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.file_name AS file_name_10, t0.file_original_name AS file_original_name_11, t0.file_mime_type AS file_mime_type_12, t0.file_size AS file_size_13, t0.file_dimensions AS file_dimensions_14, t0.created_by_id AS created_by_id_15, t0.updated_by_id AS updated_by_id_16, t0.media FROM media t0 INNER JOIN training_exercise_images ON t0.id = training_exercise_images.image_id WHERE training_exercise_images.exercise_id = ? AND t0.media IN ('image')
SELECT t0.source AS source_1, t0.zone AS zone_2, t0.url_external AS url_external_3, t0.id AS id_4, t0.notes AS notes_5, t0.tiers_id AS tiers_id_6, t0.tiers_name AS tiers_name_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.file_name AS file_name_10, t0.file_original_name AS file_original_name_11, t0.file_mime_type AS file_mime_type_12, t0.file_size AS file_size_13, t0.file_dimensions AS file_dimensions_14, t0.created_by_id AS created_by_id_15, t0.updated_by_id AS updated_by_id_16, t0.media FROM media t0 INNER JOIN training_exercise_images ON t0.id = training_exercise_images.image_id WHERE training_exercise_images.exercise_id = 1838 AND t0.media IN ('image');
|
0.52 ms (0.15%)
|
1 |
SELECT t0.lft AS lft_1, t0.lvl AS lvl_2, t0.rgt AS rgt_3, t0.categories AS categories_4, t0.equipment AS equipment_5, t0.exclude_from_equipments AS exclude_from_equipments_6, t0.group_item AS group_item_7, t0.id AS id_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.published AS published_11, t0.published_at AS published_at_12, t0.notes AS notes_13, t0.reference AS reference_14, t0.tree_root AS tree_root_15, t0.parent_id AS parent_id_16, t0.created_by_id AS created_by_id_17, t0.updated_by_id AS updated_by_id_18, t0.publisher AS publisher_19 FROM training_material t0 WHERE t0.id IN (?, ?)
SELECT t0.lft AS lft_1, t0.lvl AS lvl_2, t0.rgt AS rgt_3, t0.categories AS categories_4, t0.equipment AS equipment_5, t0.exclude_from_equipments AS exclude_from_equipments_6, t0.group_item AS group_item_7, t0.id AS id_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.published AS published_11, t0.published_at AS published_at_12, t0.notes AS notes_13, t0.reference AS reference_14, t0.tree_root AS tree_root_15, t0.parent_id AS parent_id_16, t0.created_by_id AS created_by_id_17, t0.updated_by_id AS updated_by_id_18, t0.publisher AS publisher_19 FROM training_material t0 WHERE t0.id IN (29, 1);
|
0.50 ms (0.15%)
|
1 |
SELECT t0.id AS id_1, t0.token AS token_2, t0.status AS status_3, t0.status_internal AS status_internal_4, t0.public_status AS public_status_5, t0.difficulty AS difficulty_6, t0.focus AS focus_7, t0.execution_type AS execution_type_8, t0.workout_parts AS workout_parts_9, t0.tension_type AS tension_type_10, t0.validate_at AS validate_at_11, t0.is_avatar_default_back_view AS is_avatar_default_back_view_12, t0.grips AS grips_13, t0.is_suggestion AS is_suggestion_14, t0.preferred_gender_view AS preferred_gender_view_15, t0.default_unit AS default_unit_16, t0.side AS side_17, t0.created_at AS created_at_18, t0.updated_at AS updated_at_19, t0.deleted_at AS deleted_at_20, t0.published AS published_21, t0.published_at AS published_at_22, t0.notes AS notes_23, t0.view_counter AS view_counter_24, t0.tiers_id AS tiers_id_25, t0.tiers_name AS tiers_name_26, t0.source AS source_27, t0.source_model AS source_model_28, t0.normalized_name AS normalized_name_29, t0.metaphone_name AS metaphone_name_30, t0.main_exercise_id AS main_exercise_id_31, t0.exercise_group_id AS exercise_group_id_32, t0.suggest_by_id AS suggest_by_id_33, t0.exercise_proposal_id AS exercise_proposal_id_34, t0.created_by_id AS created_by_id_35, t0.updated_by_id AS updated_by_id_36, t0.publisher AS publisher_37 FROM training_exercise t0 WHERE t0.main_exercise_id = ? AND ((t0.deleted_at IS NULL))
SELECT t0.id AS id_1, t0.token AS token_2, t0.status AS status_3, t0.status_internal AS status_internal_4, t0.public_status AS public_status_5, t0.difficulty AS difficulty_6, t0.focus AS focus_7, t0.execution_type AS execution_type_8, t0.workout_parts AS workout_parts_9, t0.tension_type AS tension_type_10, t0.validate_at AS validate_at_11, t0.is_avatar_default_back_view AS is_avatar_default_back_view_12, t0.grips AS grips_13, t0.is_suggestion AS is_suggestion_14, t0.preferred_gender_view AS preferred_gender_view_15, t0.default_unit AS default_unit_16, t0.side AS side_17, t0.created_at AS created_at_18, t0.updated_at AS updated_at_19, t0.deleted_at AS deleted_at_20, t0.published AS published_21, t0.published_at AS published_at_22, t0.notes AS notes_23, t0.view_counter AS view_counter_24, t0.tiers_id AS tiers_id_25, t0.tiers_name AS tiers_name_26, t0.source AS source_27, t0.source_model AS source_model_28, t0.normalized_name AS normalized_name_29, t0.metaphone_name AS metaphone_name_30, t0.main_exercise_id AS main_exercise_id_31, t0.exercise_group_id AS exercise_group_id_32, t0.suggest_by_id AS suggest_by_id_33, t0.exercise_proposal_id AS exercise_proposal_id_34, t0.created_by_id AS created_by_id_35, t0.updated_by_id AS updated_by_id_36, t0.publisher AS publisher_37 FROM training_exercise t0 WHERE t0.main_exercise_id = 1838 AND ((t0.deleted_at IS NULL));
|
0.48 ms (0.14%)
|
1 |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.published AS published_4, t0.published_at AS published_at_5, t0.created_by_id AS created_by_id_6, t0.updated_by_id AS updated_by_id_7, t0.publisher AS publisher_8 FROM faqs t0 INNER JOIN exercise_faq ON t0.id = exercise_faq.faq_id WHERE exercise_faq.exercise_id = ?
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.published AS published_4, t0.published_at AS published_at_5, t0.created_by_id AS created_by_id_6, t0.updated_by_id AS updated_by_id_7, t0.publisher AS publisher_8 FROM faqs t0 INNER JOIN exercise_faq ON t0.id = exercise_faq.faq_id WHERE exercise_faq.exercise_id = 1838;
|
0.46 ms (0.14%)
|
1 |
SELECT t0.body_parts AS body_parts_1, t0.is_on_avatar AS is_on_avatar_2, t0.lft AS lft_3, t0.lvl AS lvl_4, t0.rgt AS rgt_5, t0.id AS id_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.published AS published_9, t0.published_at AS published_at_10, t0.notes AS notes_11, t0.reference AS reference_12, t0.tree_root AS tree_root_13, t0.parent_id AS parent_id_14, t0.created_by_id AS created_by_id_15, t0.updated_by_id AS updated_by_id_16, t0.publisher AS publisher_17 FROM muscle t0 WHERE t0.id IN (?)
SELECT t0.body_parts AS body_parts_1, t0.is_on_avatar AS is_on_avatar_2, t0.lft AS lft_3, t0.lvl AS lvl_4, t0.rgt AS rgt_5, t0.id AS id_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.published AS published_9, t0.published_at AS published_at_10, t0.notes AS notes_11, t0.reference AS reference_12, t0.tree_root AS tree_root_13, t0.parent_id AS parent_id_14, t0.created_by_id AS created_by_id_15, t0.updated_by_id AS updated_by_id_16, t0.publisher AS publisher_17 FROM muscle t0 WHERE t0.id IN (6);
|
0.45 ms (0.13%)
|
1 |
SELECT t0.alias AS alias_1, t0.locale AS locale_2, t0.id AS id_3, t0.normalized_name AS normalized_name_4, t0.metaphone_name AS metaphone_name_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.exercise_id AS exercise_id_8, t0.created_by_id AS created_by_id_9, t0.updated_by_id AS updated_by_id_10 FROM exercise_alias t0 WHERE t0.exercise_id = ?
SELECT t0.alias AS alias_1, t0.locale AS locale_2, t0.id AS id_3, t0.normalized_name AS normalized_name_4, t0.metaphone_name AS metaphone_name_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.exercise_id AS exercise_id_8, t0.created_by_id AS created_by_id_9, t0.updated_by_id AS updated_by_id_10 FROM exercise_alias t0 WHERE t0.exercise_id = 1838;
|
0.42 ms (0.12%)
|
1 |
SELECT m0_.id AS id_0 FROM muscle m0_ WHERE m0_.parent_id IN (NULL)
SELECT m0_.id AS id_0 FROM muscle m0_ WHERE m0_.parent_id IN (NULL);
|
0.38 ms (0.11%)
|
1 |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.published AS published_4, t0.published_at AS published_at_5, t0.reference AS reference_6, t0.created_by_id AS created_by_id_7, t0.updated_by_id AS updated_by_id_8, t0.publisher AS publisher_9 FROM discipline t0 INNER JOIN training_exercise_discipline_rel ON t0.id = training_exercise_discipline_rel.discipline_id WHERE training_exercise_discipline_rel.exercise_id = ?
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.published AS published_4, t0.published_at AS published_at_5, t0.reference AS reference_6, t0.created_by_id AS created_by_id_7, t0.updated_by_id AS updated_by_id_8, t0.publisher AS publisher_9 FROM discipline t0 INNER JOIN training_exercise_discipline_rel ON t0.id = training_exercise_discipline_rel.discipline_id WHERE training_exercise_discipline_rel.exercise_id = 1838;
|
0.37 ms (0.11%)
|
1 |
SELECT t0.youtube_url AS youtube_url_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.status AS status_5, t0.notes AS notes_6, t0.answer AS answer_7, t0.locale AS locale_8, t0.video_id AS video_id_9, t0.exercise_id AS exercise_id_10, t0.created_by_id AS created_by_id_11, t0.updated_by_id AS updated_by_id_12, t0.proposal_by_id AS proposal_by_id_13 FROM training_exercise_video_proposal t0 WHERE t0.proposal_by_id IS NULL AND t0.exercise_id = ? LIMIT 1
SELECT t0.youtube_url AS youtube_url_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.status AS status_5, t0.notes AS notes_6, t0.answer AS answer_7, t0.locale AS locale_8, t0.video_id AS video_id_9, t0.exercise_id AS exercise_id_10, t0.created_by_id AS created_by_id_11, t0.updated_by_id AS updated_by_id_12, t0.proposal_by_id AS proposal_by_id_13 FROM training_exercise_video_proposal t0 WHERE t0.proposal_by_id IS NULL AND t0.exercise_id = 1838 LIMIT 1;
|
0.33 ms (0.10%)
|
1 |
SELECT t0.lft AS lft_1, t0.lvl AS lvl_2, t0.rgt AS rgt_3, t0.categories AS categories_4, t0.equipment AS equipment_5, t0.exclude_from_equipments AS exclude_from_equipments_6, t0.group_item AS group_item_7, t0.id AS id_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.published AS published_11, t0.published_at AS published_at_12, t0.notes AS notes_13, t0.reference AS reference_14, t0.tree_root AS tree_root_15, t0.parent_id AS parent_id_16, t0.created_by_id AS created_by_id_17, t0.updated_by_id AS updated_by_id_18, t0.publisher AS publisher_19 FROM training_material t0 INNER JOIN training_exercise_material_rel ON t0.id = training_exercise_material_rel.material_id WHERE training_exercise_material_rel.exercise_id = ?
SELECT t0.lft AS lft_1, t0.lvl AS lvl_2, t0.rgt AS rgt_3, t0.categories AS categories_4, t0.equipment AS equipment_5, t0.exclude_from_equipments AS exclude_from_equipments_6, t0.group_item AS group_item_7, t0.id AS id_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.published AS published_11, t0.published_at AS published_at_12, t0.notes AS notes_13, t0.reference AS reference_14, t0.tree_root AS tree_root_15, t0.parent_id AS parent_id_16, t0.created_by_id AS created_by_id_17, t0.updated_by_id AS updated_by_id_18, t0.publisher AS publisher_19 FROM training_material t0 INNER JOIN training_exercise_material_rel ON t0.id = training_exercise_material_rel.material_id WHERE training_exercise_material_rel.exercise_id = 1838;
|
0.31 ms (0.09%)
|
1 |
SELECT t0.lft AS lft_1, t0.lvl AS lvl_2, t0.rgt AS rgt_3, t0.sections AS sections_4, t0.id AS id_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.published AS published_8, t0.published_at AS published_at_9, t0.notes AS notes_10, t0.reference AS reference_11, t0.tree_root AS tree_root_12, t0.parent_id AS parent_id_13, t0.created_by_id AS created_by_id_14, t0.updated_by_id AS updated_by_id_15, t0.publisher AS publisher_16 FROM training_category t0 INNER JOIN training_exercise_category_rel ON t0.id = training_exercise_category_rel.category_id WHERE training_exercise_category_rel.exercise_id = ?
SELECT t0.lft AS lft_1, t0.lvl AS lvl_2, t0.rgt AS rgt_3, t0.sections AS sections_4, t0.id AS id_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.published AS published_8, t0.published_at AS published_at_9, t0.notes AS notes_10, t0.reference AS reference_11, t0.tree_root AS tree_root_12, t0.parent_id AS parent_id_13, t0.created_by_id AS created_by_id_14, t0.updated_by_id AS updated_by_id_15, t0.publisher AS publisher_16 FROM training_category t0 INNER JOIN training_exercise_category_rel ON t0.id = training_exercise_category_rel.category_id WHERE training_exercise_category_rel.exercise_id = 1838;
|
0.30 ms (0.09%)
|
1 |
SELECT t0.body_parts AS body_parts_1, t0.is_on_avatar AS is_on_avatar_2, t0.lft AS lft_3, t0.lvl AS lvl_4, t0.rgt AS rgt_5, t0.id AS id_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.published AS published_9, t0.published_at AS published_at_10, t0.notes AS notes_11, t0.reference AS reference_12, t0.tree_root AS tree_root_13, t0.parent_id AS parent_id_14, t0.created_by_id AS created_by_id_15, t0.updated_by_id AS updated_by_id_16, t0.publisher AS publisher_17 FROM muscle t0 INNER JOIN training_exercise_muscle ON t0.id = training_exercise_muscle.muscle_id WHERE training_exercise_muscle.exercise_id = ?
SELECT t0.body_parts AS body_parts_1, t0.is_on_avatar AS is_on_avatar_2, t0.lft AS lft_3, t0.lvl AS lvl_4, t0.rgt AS rgt_5, t0.id AS id_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.published AS published_9, t0.published_at AS published_at_10, t0.notes AS notes_11, t0.reference AS reference_12, t0.tree_root AS tree_root_13, t0.parent_id AS parent_id_14, t0.created_by_id AS created_by_id_15, t0.updated_by_id AS updated_by_id_16, t0.publisher AS publisher_17 FROM muscle t0 INNER JOIN training_exercise_muscle ON t0.id = training_exercise_muscle.muscle_id WHERE training_exercise_muscle.exercise_id = 1838;
|
0.26 ms (0.08%)
|
1 |
SELECT t0.body_parts AS body_parts_1, t0.is_on_avatar AS is_on_avatar_2, t0.lft AS lft_3, t0.lvl AS lvl_4, t0.rgt AS rgt_5, t0.id AS id_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.published AS published_9, t0.published_at AS published_at_10, t0.notes AS notes_11, t0.reference AS reference_12, t0.tree_root AS tree_root_13, t0.parent_id AS parent_id_14, t0.created_by_id AS created_by_id_15, t0.updated_by_id AS updated_by_id_16, t0.publisher AS publisher_17 FROM muscle t0 INNER JOIN training_exercise_secondary_muscle ON t0.id = training_exercise_secondary_muscle.muscle_id WHERE training_exercise_secondary_muscle.exercise_id = ?
SELECT t0.body_parts AS body_parts_1, t0.is_on_avatar AS is_on_avatar_2, t0.lft AS lft_3, t0.lvl AS lvl_4, t0.rgt AS rgt_5, t0.id AS id_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.published AS published_9, t0.published_at AS published_at_10, t0.notes AS notes_11, t0.reference AS reference_12, t0.tree_root AS tree_root_13, t0.parent_id AS parent_id_14, t0.created_by_id AS created_by_id_15, t0.updated_by_id AS updated_by_id_16, t0.publisher AS publisher_17 FROM muscle t0 INNER JOIN training_exercise_secondary_muscle ON t0.id = training_exercise_secondary_muscle.muscle_id WHERE training_exercise_secondary_muscle.exercise_id = 1838;
|