| 1 |
1.83 ms |
SELECT b0_.id AS id_0, b0_.created_at AS created_at_1, b0_.updated_at AS updated_at_2, b0_.deleted_at AS deleted_at_3, b0_.author_id AS author_id_4, b0_.created_by_id AS created_by_id_5 FROM book b0_ LEFT JOIN book_translation b1_ ON b0_.id = b1_.book_id WHERE b0_.deleted_at IS NULL GROUP BY b0_.id ORDER BY b0_.created_at DESC
SELECT b0_.id AS id_0, b0_.created_at AS created_at_1, b0_.updated_at AS updated_at_2, b0_.deleted_at AS deleted_at_3, b0_.author_id AS author_id_4, b0_.created_by_id AS created_by_id_5 FROM book b0_ LEFT JOIN book_translation b1_ ON b0_.id = b1_.book_id WHERE b0_.deleted_at IS NULL GROUP BY b0_.id ORDER BY b0_.created_at DESC;
|
| 2 |
1.99 ms |
SELECT a0_.id AS id_0, a0_.created_at AS created_at_1, a0_.updated_at AS updated_at_2, a0_.deleted_at AS deleted_at_3, a0_.birth_date AS birth_date_4, a0_.death_date AS death_date_5, a0_.old_tag_id AS old_tag_id_6, a0_.image_path AS image_path_7, a0_.is_translator AS is_translator_8, a0_.created_by_id AS created_by_id_9 FROM author a0_ LEFT JOIN author_translation a1_ ON a0_.id = a1_.author_id WHERE a0_.deleted_at IS NULL AND (EXISTS (SELECT 1 AS sclr_10 FROM book b2_ WHERE b2_.author_id = a0_.id AND b2_.deleted_at IS NULL)) GROUP BY a0_.id ORDER BY MIN(a1_.name) ASC
SELECT a0_.id AS id_0, a0_.created_at AS created_at_1, a0_.updated_at AS updated_at_2, a0_.deleted_at AS deleted_at_3, a0_.birth_date AS birth_date_4, a0_.death_date AS death_date_5, a0_.old_tag_id AS old_tag_id_6, a0_.image_path AS image_path_7, a0_.is_translator AS is_translator_8, a0_.created_by_id AS created_by_id_9 FROM author a0_ LEFT JOIN author_translation a1_ ON a0_.id = a1_.author_id WHERE a0_.deleted_at IS NULL AND (EXISTS (SELECT 1 AS sclr_10 FROM book b2_ WHERE b2_.author_id = a0_.id AND b2_.deleted_at IS NULL)) GROUP BY a0_.id ORDER BY MIN(a1_.name) ASC;
|
| 3 |
1.22 ms |
SELECT t0.id AS id_1, t0.quote_translation_count AS quote_translation_count_2, t0.book_translation_count AS book_translation_count_3, t0.total_votes_received AS total_votes_received_4, t0.positive_votes_received AS positive_votes_received_5, t0.average_rating AS average_rating_6, t0.first_translation_date AS first_translation_date_7, t0.last_translation_date AS last_translation_date_8, t0.last_calculated_at AS last_calculated_at_9, t0.translator_id AS translator_id_10 FROM translator_statistics t0 WHERE t0.translator_id = ?
SELECT t0.id AS id_1, t0.quote_translation_count AS quote_translation_count_2, t0.book_translation_count AS book_translation_count_3, t0.total_votes_received AS total_votes_received_4, t0.positive_votes_received AS positive_votes_received_5, t0.average_rating AS average_rating_6, t0.first_translation_date AS first_translation_date_7, t0.last_translation_date AS last_translation_date_8, t0.last_calculated_at AS last_calculated_at_9, t0.translator_id AS translator_id_10 FROM translator_statistics t0 WHERE t0.translator_id = 266;
|
| 4 |
1.14 ms |
SELECT t0.id AS id_1, t0.quote_translation_count AS quote_translation_count_2, t0.book_translation_count AS book_translation_count_3, t0.total_votes_received AS total_votes_received_4, t0.positive_votes_received AS positive_votes_received_5, t0.average_rating AS average_rating_6, t0.first_translation_date AS first_translation_date_7, t0.last_translation_date AS last_translation_date_8, t0.last_calculated_at AS last_calculated_at_9, t0.translator_id AS translator_id_10 FROM translator_statistics t0 WHERE t0.translator_id = ?
SELECT t0.id AS id_1, t0.quote_translation_count AS quote_translation_count_2, t0.book_translation_count AS book_translation_count_3, t0.total_votes_received AS total_votes_received_4, t0.positive_votes_received AS positive_votes_received_5, t0.average_rating AS average_rating_6, t0.first_translation_date AS first_translation_date_7, t0.last_translation_date AS last_translation_date_8, t0.last_calculated_at AS last_calculated_at_9, t0.translator_id AS translator_id_10 FROM translator_statistics t0 WHERE t0.translator_id = 1;
|
| 5 |
1.02 ms |
SELECT t0.id AS id_1, t0.quote_translation_count AS quote_translation_count_2, t0.book_translation_count AS book_translation_count_3, t0.total_votes_received AS total_votes_received_4, t0.positive_votes_received AS positive_votes_received_5, t0.average_rating AS average_rating_6, t0.first_translation_date AS first_translation_date_7, t0.last_translation_date AS last_translation_date_8, t0.last_calculated_at AS last_calculated_at_9, t0.translator_id AS translator_id_10 FROM translator_statistics t0 WHERE t0.translator_id = ?
SELECT t0.id AS id_1, t0.quote_translation_count AS quote_translation_count_2, t0.book_translation_count AS book_translation_count_3, t0.total_votes_received AS total_votes_received_4, t0.positive_votes_received AS positive_votes_received_5, t0.average_rating AS average_rating_6, t0.first_translation_date AS first_translation_date_7, t0.last_translation_date AS last_translation_date_8, t0.last_calculated_at AS last_calculated_at_9, t0.translator_id AS translator_id_10 FROM translator_statistics t0 WHERE t0.translator_id = 2;
|
| 6 |
686.99 ms |
SELECT l0_.id AS id_0, l0_.code AS code_1, l0_.name AS name_2, l0_.native_name AS native_name_3 FROM language l0_ INNER JOIN quote_translation q1_ ON (q1_.language_id = l0_.id) INNER JOIN quote q2_ ON q1_.quote_id = q2_.id WHERE q2_.deleted_at IS NULL GROUP BY l0_.id ORDER BY l0_.name ASC
SELECT l0_.id AS id_0, l0_.code AS code_1, l0_.name AS name_2, l0_.native_name AS native_name_3 FROM language l0_ INNER JOIN quote_translation q1_ ON (q1_.language_id = l0_.id) INNER JOIN quote q2_ ON q1_.quote_id = q2_.id WHERE q2_.deleted_at IS NULL GROUP BY l0_.id ORDER BY l0_.name ASC;
|
| 7 |
1.32 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.biography AS biography_3, t0.author_id AS author_id_4, t0.language_id AS language_id_5 FROM author_translation t0 WHERE t0.author_id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.biography AS biography_3, t0.author_id AS author_id_4, t0.language_id AS language_id_5 FROM author_translation t0 WHERE t0.author_id = 266;
|
| 8 |
1.58 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.biography AS biography_3, t0.author_id AS author_id_4, t0.language_id AS language_id_5 FROM author_translation t0 WHERE t0.author_id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.biography AS biography_3, t0.author_id AS author_id_4, t0.language_id AS language_id_5 FROM author_translation t0 WHERE t0.author_id = 1;
|
| 9 |
1.18 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.biography AS biography_3, t0.author_id AS author_id_4, t0.language_id AS language_id_5 FROM author_translation t0 WHERE t0.author_id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.biography AS biography_3, t0.author_id AS author_id_4, t0.language_id AS language_id_5 FROM author_translation t0 WHERE t0.author_id = 2;
|
| 10 |
1.18 ms |
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.variant AS variant_4, t0.vote_score AS vote_score_5, t0.comment_count AS comment_count_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.book_id AS book_id_9, t0.language_id AS language_id_10, t0.translator_id AS translator_id_11 FROM book_translation t0 WHERE t0.book_id = ?
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.variant AS variant_4, t0.vote_score AS vote_score_5, t0.comment_count AS comment_count_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.book_id AS book_id_9, t0.language_id AS language_id_10, t0.translator_id AS translator_id_11 FROM book_translation t0 WHERE t0.book_id = 3;
|
| 11 |
5.84 ms |
SELECT t0.id AS id_1, t0.sort_order AS sort_order_2, t0.type AS type_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.deleted_at AS deleted_at_6, t0.old_quote_id AS old_quote_id_7, t0.display_date AS display_date_8, t0.display_month AS display_month_9, t0.display_day AS display_day_10, t0.author_id AS author_id_11, t0.book_id AS book_id_12, t0.parent_quote_id AS parent_quote_id_13, t0.created_by_id AS created_by_id_14 FROM quote t0 WHERE t0.book_id = ?
SELECT t0.id AS id_1, t0.sort_order AS sort_order_2, t0.type AS type_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.deleted_at AS deleted_at_6, t0.old_quote_id AS old_quote_id_7, t0.display_date AS display_date_8, t0.display_month AS display_month_9, t0.display_day AS display_day_10, t0.author_id AS author_id_11, t0.book_id AS book_id_12, t0.parent_quote_id AS parent_quote_id_13, t0.created_by_id AS created_by_id_14 FROM quote t0 WHERE t0.book_id = 3;
|
| 12 |
1.79 ms |
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.variant AS variant_4, t0.vote_score AS vote_score_5, t0.comment_count AS comment_count_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.book_id AS book_id_9, t0.language_id AS language_id_10, t0.translator_id AS translator_id_11 FROM book_translation t0 WHERE t0.book_id = ?
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.variant AS variant_4, t0.vote_score AS vote_score_5, t0.comment_count AS comment_count_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.book_id AS book_id_9, t0.language_id AS language_id_10, t0.translator_id AS translator_id_11 FROM book_translation t0 WHERE t0.book_id = 2;
|
| 13 |
1.58 ms |
SELECT t0.id AS id_1, t0.sort_order AS sort_order_2, t0.type AS type_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.deleted_at AS deleted_at_6, t0.old_quote_id AS old_quote_id_7, t0.display_date AS display_date_8, t0.display_month AS display_month_9, t0.display_day AS display_day_10, t0.author_id AS author_id_11, t0.book_id AS book_id_12, t0.parent_quote_id AS parent_quote_id_13, t0.created_by_id AS created_by_id_14 FROM quote t0 WHERE t0.book_id = ?
SELECT t0.id AS id_1, t0.sort_order AS sort_order_2, t0.type AS type_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.deleted_at AS deleted_at_6, t0.old_quote_id AS old_quote_id_7, t0.display_date AS display_date_8, t0.display_month AS display_month_9, t0.display_day AS display_day_10, t0.author_id AS author_id_11, t0.book_id AS book_id_12, t0.parent_quote_id AS parent_quote_id_13, t0.created_by_id AS created_by_id_14 FROM quote t0 WHERE t0.book_id = 2;
|
| 14 |
1.30 ms |
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.variant AS variant_4, t0.vote_score AS vote_score_5, t0.comment_count AS comment_count_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.book_id AS book_id_9, t0.language_id AS language_id_10, t0.translator_id AS translator_id_11 FROM book_translation t0 WHERE t0.book_id = ?
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.variant AS variant_4, t0.vote_score AS vote_score_5, t0.comment_count AS comment_count_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.book_id AS book_id_9, t0.language_id AS language_id_10, t0.translator_id AS translator_id_11 FROM book_translation t0 WHERE t0.book_id = 1;
|
| 15 |
1.27 ms |
SELECT t0.id AS id_1, t0.sort_order AS sort_order_2, t0.type AS type_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.deleted_at AS deleted_at_6, t0.old_quote_id AS old_quote_id_7, t0.display_date AS display_date_8, t0.display_month AS display_month_9, t0.display_day AS display_day_10, t0.author_id AS author_id_11, t0.book_id AS book_id_12, t0.parent_quote_id AS parent_quote_id_13, t0.created_by_id AS created_by_id_14 FROM quote t0 WHERE t0.book_id = ?
SELECT t0.id AS id_1, t0.sort_order AS sort_order_2, t0.type AS type_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.deleted_at AS deleted_at_6, t0.old_quote_id AS old_quote_id_7, t0.display_date AS display_date_8, t0.display_month AS display_month_9, t0.display_day AS display_day_10, t0.author_id AS author_id_11, t0.book_id AS book_id_12, t0.parent_quote_id AS parent_quote_id_13, t0.created_by_id AS created_by_id_14 FROM quote t0 WHERE t0.book_id = 1;
|