SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.001017s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000455s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000472s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.000770s ]
SELECT `module_id` FROM `tp_cate` WHERE `cate_folder` = 'Product' LIMIT 1 [ RunTime:0.000245s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.000622s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000248s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.000628s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.001068s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'Product' LIMIT 1 [ RunTime:0.000272s ]
SELECT * FROM `tp_cate` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000300s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000211s ]
SHOW FULL COLUMNS FROM `tp_page` [ RunTime:0.000679s ]
SELECT * FROM `tp_page` WHERE `cate_id` = 18 AND `status` = 1 LIMIT 1 [ RunTime:0.000340s ]
SELECT * FROM `tp_page` WHERE `cate_id` = 18 AND `status` = 1 LIMIT 1 [ RunTime:0.000259s ]
SHOW FULL COLUMNS FROM `tp_item` [ RunTime:0.000570s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 114 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000453s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 116 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000410s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 416 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000396s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 116 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000398s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 416 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000384s ]
SHOW FULL COLUMNS FROM `tp_product` [ RunTime:0.000874s ]
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.001235s ]
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.002998s ]
SELECT COUNT(*) AS think_count FROM `tp_product` WHERE ( status =1 and title = '應急照明配電箱' ) [ RunTime:0.000897s ]
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.000992s ]
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.002919s ]
SELECT COUNT(*) AS think_count FROM `tp_product` WHERE ( status =1 and title = '應急照明配電箱' ) [ RunTime:0.000817s ]