Params | |
---|---|
0 |
|
1 |
|
2 |
|
3 |
|
4 |
|
Params | |
---|---|
0 |
|
Params | |
---|---|
0 |
|
Params | |
---|---|
0 |
|
Params | |
---|---|
0 |
|
1 |
|
select * from `bk_article_classify` where `id` = '41' and `is_active` = '1' and `is_delete` = '0' limit 1
680μsdb_xhjy_preParams | |
---|---|
0 | 41 |
1 | 1 |
2 | 0 |
hints | Use SELECT * only if you need all columns from tableLIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan |
select bk_article_main.*, bk_article_detail.content, group_concat(DISTINCT bk_article_classify.name) as classnames, group_concat(DISTINCT bk_article_classify.id) as classifyid, group_concat(DISTINCT bk_article_tags.name) as tagsnames from `bk_article_main` left join `bk_article_detail` on `bk_article_main`.`id` = `bk_article_detail`.`article_id` left join `bk_article_classify_relation` on `bk_article_classify_relation`.`article_id` = `bk_article_main`.`id` left join `bk_article_classify` on `bk_article_classify_relation`.`classify_id` = `bk_article_classify`.`id` left join `bk_article_tag_relation` on `bk_article_tag_relation`.`article_id` = `bk_article_main`.`id` left join `bk_article_tags` on `bk_article_tag_relation`.`tag_id` = `bk_article_tags`.`id` where `bk_article_main`.`is_delete` = '1' and `bk_article_main`.`status` = '1' and `bk_article_main`.`id` = '1584' limit 1
1.02msdb_xhjy_preParams | |
---|---|
0 | 1 |
1 | 1 |
2 | 1584 |
hints | LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan |
select count(*) as aggregate from `bk_article_main` left join `bk_article_classify_relation` on `bk_article_classify_relation`.`article_id` = `bk_article_main`.`id` where `bk_article_classify_relation`.`classify_id` = '42' and `bk_article_main`.`custom` = '1584' and `bk_article_main`.`is_delete` = '1' and `bk_article_main`.`status` = '1' group by `bk_article_main`.`id`
800μsdb_xhjy_preParams | |
---|---|
0 | 42 |
1 | 1584 |
2 | 1 |
3 | 1 |
select bk_article_main.* from `bk_article_main` left join `bk_article_classify_relation` on `bk_article_classify_relation`.`article_id` = `bk_article_main`.`id` where `bk_article_classify_relation`.`classify_id` = '42' and `bk_article_main`.`custom` = '1584' and `bk_article_main`.`is_delete` = '1' and `bk_article_main`.`status` = '1' group by `bk_article_main`.`id` order by `bk_article_main`.`is_stick` desc, `bk_article_main`.`sort` desc, `bk_article_main`.`write_time` desc, `bk_article_main`.`id` desc limit 15 offset 0
1.41msdb_xhjy_preParams | |
---|---|
0 | 42 |
1 | 1584 |
2 | 1 |
3 | 1 |
select * from `bk_article_classify` where `is_delete` = '0' and `is_active` = '1' and `is_nav` = '1' order by `sort` desc
1.52msdb_xhjy_preParams | |
---|---|
0 | 0 |
1 | 1 |
2 | 1 |
hints | Use SELECT * only if you need all columns from table |
select * from `bk_article_classify` where `id` = '41' and `is_active` = '1' and `is_delete` = '0' limit 1
510μsdb_xhjy_preParams | |
---|---|
0 | 41 |
1 | 1 |
2 | 0 |
hints | Use SELECT * only if you need all columns from tableLIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan |
select * from `bk_article_classify` where `is_nav` = '1' and `is_delete` = '0' and `pid` in ('40') order by `sort` desc
660μsdb_xhjy_preParams | |
---|---|
0 | 1 |
1 | 0 |
2 | 40 |
hints | Use SELECT * only if you need all columns from table |
select * from `bk_article_classify` where `id` = '41' and `is_active` = '1' and `is_delete` = '0' limit 1
470μsdb_xhjy_preParams | |
---|---|
0 | 41 |
1 | 1 |
2 | 0 |
hints | Use SELECT * only if you need all columns from tableLIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan |
select * from `bk_article_classify` where `id` = '40' and `is_active` = '1' and `is_delete` = '0' limit 1
450μsdb_xhjy_preParams | |
---|---|
0 | 40 |
1 | 1 |
2 | 0 |
hints | Use SELECT * only if you need all columns from tableLIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan |