1
0.14 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . url AS url_3 , t0 . enable AS enable_4 , t0 . updated_at AS updated_at_5 , t0 . seo_title AS seo_title_6 , t0 . seo_description AS seo_description_7 , t0 . seo_canonical AS seo_canonical_8 , t0 . seo_indexed AS seo_indexed_9 FROM cms_page t0 WHERE t0 . enable = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . url AS url_3 , t0 . enable AS enable_4 , t0 . updated_at AS updated_at_5 , t0 . seo_title AS seo_title_6 , t0 . seo_description AS seo_description_7 , t0 . seo_canonical AS seo_canonical_8 , t0 . seo_indexed AS seo_indexed_9 FROM cms_page t0 WHERE t0 . enable = 1 ;
Copy
2
0.30 ms
SELECT ac . id , ac . name
FROM article_category ac
INNER JOIN article c ON c . category_id = ac . id
GROUP BY ac . id
ORDER BY ac . name DESC
SELECT ac . id , ac . name
FROM article_category ac
INNER JOIN article c ON c . category_id = ac . id
GROUP BY ac . id
ORDER BY ac . name DESC ;
Copy
3
6.47 ms
SELECT COUNT (* ) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT a0_ . id AS id_0 , a0_ . title AS title_1 , a0_ . slug AS slug_2 , a0_ . image_name AS image_name_3 , a0_ . author AS author_4 , a0_ . summary AS summary_5 , a0_ . content AS content_6 , a0_ . created_at AS created_at_7 , a0_ . updated_at AS updated_at_8 , a0_ . state AS state_9 , a0_ . seo_title AS seo_title_10 , a0_ . seo_description AS seo_description_11 , a0_ . seo_canonical AS seo_canonical_12 , a0_ . seo_indexed AS seo_indexed_13 FROM article a0_ WHERE a0_ . state = ? ORDER BY a0_ . created_at DESC ) dctrn_result ) dctrn_table
SELECT COUNT (* ) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT a0_ . id AS id_0 , a0_ . title AS title_1 , a0_ . slug AS slug_2 , a0_ . image_name AS image_name_3 , a0_ . author AS author_4 , a0_ . summary AS summary_5 , a0_ . content AS content_6 , a0_ . created_at AS created_at_7 , a0_ . updated_at AS updated_at_8 , a0_ . state AS state_9 , a0_ . seo_title AS seo_title_10 , a0_ . seo_description AS seo_description_11 , a0_ . seo_canonical AS seo_canonical_12 , a0_ . seo_indexed AS seo_indexed_13 FROM article a0_ WHERE a0_ . state = 'ONLINE' ORDER BY a0_ . created_at DESC ) dctrn_result ) dctrn_table ;
Copy
4
5.02 ms
SELECT DISTINCT id_0 FROM (SELECT DISTINCT id_0 , created_at_7 FROM (SELECT a0_ . id AS id_0 , a0_ . title AS title_1 , a0_ . slug AS slug_2 , a0_ . image_name AS image_name_3 , a0_ . author AS author_4 , a0_ . summary AS summary_5 , a0_ . content AS content_6 , a0_ . created_at AS created_at_7 , a0_ . updated_at AS updated_at_8 , a0_ . state AS state_9 , a0_ . seo_title AS seo_title_10 , a0_ . seo_description AS seo_description_11 , a0_ . seo_canonical AS seo_canonical_12 , a0_ . seo_indexed AS seo_indexed_13 FROM article a0_ WHERE a0_ . state = ? ) dctrn_result_inner ORDER BY created_at_7 DESC ) dctrn_result LIMIT 12
SELECT DISTINCT id_0 FROM (SELECT DISTINCT id_0 , created_at_7 FROM (SELECT a0_ . id AS id_0 , a0_ . title AS title_1 , a0_ . slug AS slug_2 , a0_ . image_name AS image_name_3 , a0_ . author AS author_4 , a0_ . summary AS summary_5 , a0_ . content AS content_6 , a0_ . created_at AS created_at_7 , a0_ . updated_at AS updated_at_8 , a0_ . state AS state_9 , a0_ . seo_title AS seo_title_10 , a0_ . seo_description AS seo_description_11 , a0_ . seo_canonical AS seo_canonical_12 , a0_ . seo_indexed AS seo_indexed_13 FROM article a0_ WHERE a0_ . state = 'ONLINE' ) dctrn_result_inner ORDER BY created_at_7 DESC ) dctrn_result LIMIT 12 ;
Copy
5
0.66 ms
SELECT a0_ . id AS id_0 , a0_ . title AS title_1 , a0_ . slug AS slug_2 , a0_ . image_name AS image_name_3 , a0_ . author AS author_4 , a0_ . summary AS summary_5 , a0_ . content AS content_6 , a0_ . created_at AS created_at_7 , a0_ . updated_at AS updated_at_8 , a0_ . state AS state_9 , a0_ . seo_title AS seo_title_10 , a0_ . seo_description AS seo_description_11 , a0_ . seo_canonical AS seo_canonical_12 , a0_ . seo_indexed AS seo_indexed_13 , a0_ . category_id AS category_id_14 FROM article a0_ WHERE a0_ . state = ? AND a0_ . id IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ) ORDER BY a0_ . created_at DESC
Parameters :
[
"ONLINE "
252
251
250
249
248
247
246
245
244
243
242
241
]
SELECT a0_ . id AS id_0 , a0_ . title AS title_1 , a0_ . slug AS slug_2 , a0_ . image_name AS image_name_3 , a0_ . author AS author_4 , a0_ . summary AS summary_5 , a0_ . content AS content_6 , a0_ . created_at AS created_at_7 , a0_ . updated_at AS updated_at_8 , a0_ . state AS state_9 , a0_ . seo_title AS seo_title_10 , a0_ . seo_description AS seo_description_11 , a0_ . seo_canonical AS seo_canonical_12 , a0_ . seo_indexed AS seo_indexed_13 , a0_ . category_id AS category_id_14 FROM article a0_ WHERE a0_ . state = 'ONLINE' AND a0_ . id IN (252 , 251 , 250 , 249 , 248 , 247 , 246 , 245 , 244 , 243 , 242 , 241 ) ORDER BY a0_ . created_at DESC ;
Copy
6
0.16 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . image_name AS image_name_3 , t0 . updated_at AS updated_at_4 , t0 . ebook_title AS ebook_title_5 , t0 . ebook_sub_title AS ebook_sub_title_6 , t0 . pdf_name AS pdf_name_7 , t0 . pdf_mime_type AS pdf_mime_type_8 FROM article_category t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . image_name AS image_name_3 , t0 . updated_at AS updated_at_4 , t0 . ebook_title AS ebook_title_5 , t0 . ebook_sub_title AS ebook_sub_title_6 , t0 . pdf_name AS pdf_name_7 , t0 . pdf_mime_type AS pdf_mime_type_8 FROM article_category t0 WHERE t0 . id = 21 ;
Copy
7
0.10 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . image_name AS image_name_3 , t0 . updated_at AS updated_at_4 , t0 . ebook_title AS ebook_title_5 , t0 . ebook_sub_title AS ebook_sub_title_6 , t0 . pdf_name AS pdf_name_7 , t0 . pdf_mime_type AS pdf_mime_type_8 FROM article_category t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . image_name AS image_name_3 , t0 . updated_at AS updated_at_4 , t0 . ebook_title AS ebook_title_5 , t0 . ebook_sub_title AS ebook_sub_title_6 , t0 . pdf_name AS pdf_name_7 , t0 . pdf_mime_type AS pdf_mime_type_8 FROM article_category t0 WHERE t0 . id = 26 ;
Copy
8
0.08 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . image_name AS image_name_3 , t0 . updated_at AS updated_at_4 , t0 . ebook_title AS ebook_title_5 , t0 . ebook_sub_title AS ebook_sub_title_6 , t0 . pdf_name AS pdf_name_7 , t0 . pdf_mime_type AS pdf_mime_type_8 FROM article_category t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . image_name AS image_name_3 , t0 . updated_at AS updated_at_4 , t0 . ebook_title AS ebook_title_5 , t0 . ebook_sub_title AS ebook_sub_title_6 , t0 . pdf_name AS pdf_name_7 , t0 . pdf_mime_type AS pdf_mime_type_8 FROM article_category t0 WHERE t0 . id = 31 ;
Copy
9
0.07 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . image_name AS image_name_3 , t0 . updated_at AS updated_at_4 , t0 . ebook_title AS ebook_title_5 , t0 . ebook_sub_title AS ebook_sub_title_6 , t0 . pdf_name AS pdf_name_7 , t0 . pdf_mime_type AS pdf_mime_type_8 FROM article_category t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . image_name AS image_name_3 , t0 . updated_at AS updated_at_4 , t0 . ebook_title AS ebook_title_5 , t0 . ebook_sub_title AS ebook_sub_title_6 , t0 . pdf_name AS pdf_name_7 , t0 . pdf_mime_type AS pdf_mime_type_8 FROM article_category t0 WHERE t0 . id = 34 ;
Copy
10
0.08 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . image_name AS image_name_3 , t0 . updated_at AS updated_at_4 , t0 . ebook_title AS ebook_title_5 , t0 . ebook_sub_title AS ebook_sub_title_6 , t0 . pdf_name AS pdf_name_7 , t0 . pdf_mime_type AS pdf_mime_type_8 FROM article_category t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . image_name AS image_name_3 , t0 . updated_at AS updated_at_4 , t0 . ebook_title AS ebook_title_5 , t0 . ebook_sub_title AS ebook_sub_title_6 , t0 . pdf_name AS pdf_name_7 , t0 . pdf_mime_type AS pdf_mime_type_8 FROM article_category t0 WHERE t0 . id = 25 ;
Copy
11
0.09 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . image_name AS image_name_3 , t0 . updated_at AS updated_at_4 , t0 . ebook_title AS ebook_title_5 , t0 . ebook_sub_title AS ebook_sub_title_6 , t0 . pdf_name AS pdf_name_7 , t0 . pdf_mime_type AS pdf_mime_type_8 FROM article_category t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . image_name AS image_name_3 , t0 . updated_at AS updated_at_4 , t0 . ebook_title AS ebook_title_5 , t0 . ebook_sub_title AS ebook_sub_title_6 , t0 . pdf_name AS pdf_name_7 , t0 . pdf_mime_type AS pdf_mime_type_8 FROM article_category t0 WHERE t0 . id = 40 ;
Copy
12
0.09 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . image_name AS image_name_3 , t0 . updated_at AS updated_at_4 , t0 . ebook_title AS ebook_title_5 , t0 . ebook_sub_title AS ebook_sub_title_6 , t0 . pdf_name AS pdf_name_7 , t0 . pdf_mime_type AS pdf_mime_type_8 FROM article_category t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . image_name AS image_name_3 , t0 . updated_at AS updated_at_4 , t0 . ebook_title AS ebook_title_5 , t0 . ebook_sub_title AS ebook_sub_title_6 , t0 . pdf_name AS pdf_name_7 , t0 . pdf_mime_type AS pdf_mime_type_8 FROM article_category t0 WHERE t0 . id = 38 ;
Copy
13
0.10 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . image_name AS image_name_3 , t0 . updated_at AS updated_at_4 , t0 . ebook_title AS ebook_title_5 , t0 . ebook_sub_title AS ebook_sub_title_6 , t0 . pdf_name AS pdf_name_7 , t0 . pdf_mime_type AS pdf_mime_type_8 FROM article_category t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . image_name AS image_name_3 , t0 . updated_at AS updated_at_4 , t0 . ebook_title AS ebook_title_5 , t0 . ebook_sub_title AS ebook_sub_title_6 , t0 . pdf_name AS pdf_name_7 , t0 . pdf_mime_type AS pdf_mime_type_8 FROM article_category t0 WHERE t0 . id = 29 ;
Copy
14
0.11 ms
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . image_name AS image_name_3 , t0 . updated_at AS updated_at_4 , t0 . ebook_title AS ebook_title_5 , t0 . ebook_sub_title AS ebook_sub_title_6 , t0 . pdf_name AS pdf_name_7 , t0 . pdf_mime_type AS pdf_mime_type_8 FROM article_category t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . image_name AS image_name_3 , t0 . updated_at AS updated_at_4 , t0 . ebook_title AS ebook_title_5 , t0 . ebook_sub_title AS ebook_sub_title_6 , t0 . pdf_name AS pdf_name_7 , t0 . pdf_mime_type AS pdf_mime_type_8 FROM article_category t0 WHERE t0 . id = 27 ;
Copy