| 0.0004 |
SELECT * FROM `cle_categories` WHERE `public` = 1 AND `slug` = 'che'
|
| 0.0002 |
SELECT `id` FROM `cle_categories` WHERE `lft` >= '9' AND `rgt` <= '10' ORDER BY `order`
|
| 0.0008 |
SELECT `cle_relationships`.`category_id`, count( DISTINCT object_id ) as count FROM `cle_relationships` JOIN `cle_post` ON `cle_relationships`.`object_id` = `cle_post`.`id` WHERE `public` = 1 AND `trash` = 0 AND `cle_relationships`.`object_type` = 'post' AND `cle_relationships`.`category_id` IN('5') GROUP BY `cle_relationships`.`category_id`
|
| 0.0003 |
SELECT `id` FROM `cle_categories` WHERE `lft` >= '9' AND `rgt` <= '10' ORDER BY `order`
|
| 0.0006 |
SELECT `cle_post`.* FROM `cle_post` JOIN `cle_relationships` ON `cle_relationships`.`object_id` = `cle_post`.`id` WHERE `public` = 1 AND `trash` = 0 AND `cle_relationships`.`object_type` = 'post' AND `cle_relationships`.`category_id` IN('5') GROUP BY `cle_post`.`id` ORDER BY `cle_post`.`order`, `cle_post`.`created` desc LIMIT 10
|
| 0.0004 |
SELECT * FROM `cle_relationships` WHERE `category_id` = 'main-nav' AND `object_type` = 'menu'
|
| 0.0004 |
SELECT `cle_categories`.`id`, `cle_categories`.`name`, `cle_categories`.`slug` FROM `cle_categories` WHERE `public` = 1 AND `lft` <= '9' AND `rgt` >= '10' ORDER BY `level`
|
| 0.0006 |
SELECT * FROM `cle_post` WHERE `public` = 1 AND `trash` = 0 AND `post_type` = 'post' ORDER BY `order`, `created` desc LIMIT 5
|
| 0.0003 |
SELECT `id` FROM `cle_categories` WHERE `lft` >= '9' AND `rgt` <= '10' ORDER BY `order`
|
| 0.0006 |
SELECT `cle_post`.* FROM `cle_post` JOIN `cle_relationships` ON `cle_relationships`.`object_id` = `cle_post`.`id` WHERE `public` = 1 AND `trash` = 0 AND `post_type` = 'post' AND `status` = 1 AND `cle_relationships`.`object_type` = 'post' AND `cle_relationships`.`category_id` IN('5') GROUP BY `cle_post`.`id` ORDER BY `order`, `created` desc LIMIT 5
|