SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.000975s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000492s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000578s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.000802s ]
SELECT `module_id` FROM `tp_cate` WHERE `cate_folder` = 'Product' LIMIT 1 [ RunTime:0.000245s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.000712s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000243s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.000706s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.001100s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'Product' LIMIT 1 [ RunTime:0.001932s ]
SELECT * FROM `tp_cate` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000357s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000259s ]
SHOW FULL COLUMNS FROM `tp_page` [ RunTime:0.001346s ]
SELECT * FROM `tp_page` WHERE `cate_id` = 18 AND `status` = 1 LIMIT 1 [ RunTime:0.000320s ]
SELECT * FROM `tp_page` WHERE `cate_id` = 18 AND `status` = 1 LIMIT 1 [ RunTime:0.000292s ]
SHOW FULL COLUMNS FROM `tp_item` [ RunTime:0.000654s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 114 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000470s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 116 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000449s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 416 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000427s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 116 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000451s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 416 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000422s ]
SHOW FULL COLUMNS FROM `tp_product` [ RunTime:0.001048s ]
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.008845s ]
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.005379s ]
SELECT COUNT(*) AS think_count FROM `tp_product` WHERE ( status =1 and title = '應急照明配電箱' ) [ RunTime:0.001731s ]
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.001693s ]
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.004956s ]
SELECT COUNT(*) AS think_count FROM `tp_product` WHERE ( status =1 and title = '應急照明配電箱' ) [ RunTime:0.001275s ]