SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.000758s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000483s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000339s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.000520s ]
SELECT `module_id` FROM `tp_cate` WHERE `cate_folder` = 'Product' LIMIT 1 [ RunTime:0.000222s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.000473s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000207s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.000500s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000739s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'Product' LIMIT 1 [ RunTime:0.000225s ]
SELECT * FROM `tp_cate` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000289s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000206s ]
SHOW FULL COLUMNS FROM `tp_page` [ RunTime:0.001373s ]
SELECT * FROM `tp_page` WHERE `cate_id` = 18 AND `status` = 1 LIMIT 1 [ RunTime:0.000305s ]
SELECT * FROM `tp_page` WHERE `cate_id` = 18 AND `status` = 1 LIMIT 1 [ RunTime:0.000230s ]
SHOW FULL COLUMNS FROM `tp_item` [ RunTime:0.000556s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 114 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000441s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 116 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000473s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 416 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000399s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 116 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000420s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 416 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000410s ]
SHOW FULL COLUMNS FROM `tp_product` [ RunTime:0.000794s ]
SELECT COUNT(*) AS think_count FROM ( SELECT count(*) AS think_count FROM `tp_product` WHERE ( status = 1 and (items in (416)) ) GROUP BY `title` ) `_group_count_` [ RunTime:0.001834s ]
SELECT * FROM `tp_product` WHERE ( status = 1 and (items in (416)) ) GROUP BY `title` ORDER BY `sort` ASC,`id` DESC LIMIT 0,12 [ RunTime:0.005239s ]
SELECT COUNT(*) AS think_count FROM `tp_product` WHERE ( status =1 and title = '應急照明配電箱' ) [ RunTime:0.001475s ]
SELECT COUNT(*) AS think_count FROM ( SELECT count(*) AS think_count FROM `tp_product` WHERE ( status = 1 and (items in (416)) ) GROUP BY `title` ) `_group_count_` [ RunTime:0.001669s ]
SELECT * FROM `tp_product` WHERE ( status = 1 and (items in (416)) ) GROUP BY `title` ORDER BY `sort` ASC,`id` DESC LIMIT 0,12 [ RunTime:0.005104s ]
SELECT COUNT(*) AS think_count FROM `tp_product` WHERE ( status =1 and title = '應急照明配電箱' ) [ RunTime:0.001289s ]