SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.000762s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000442s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000398s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.000565s ]
SELECT `module_id` FROM `tp_cate` WHERE `cate_folder` = 'Product' LIMIT 1 [ RunTime:0.000222s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.000498s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000225s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.000502s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000761s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'Product' LIMIT 1 [ RunTime:0.000246s ]
SELECT * FROM `tp_cate` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000279s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000201s ]
SHOW FULL COLUMNS FROM `tp_page` [ RunTime:0.000463s ]
SELECT * FROM `tp_page` WHERE `cate_id` = 18 AND `status` = 1 LIMIT 1 [ RunTime:0.000249s ]
SELECT * FROM `tp_page` WHERE `cate_id` = 18 AND `status` = 1 LIMIT 1 [ RunTime:0.000223s ]
SHOW FULL COLUMNS FROM `tp_item` [ RunTime:0.000456s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 114 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000329s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 116 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000327s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 416 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000301s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 116 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000366s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 416 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000313s ]
SHOW FULL COLUMNS FROM `tp_product` [ RunTime:0.000606s ]
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.001143s ]
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.002990s ]
SELECT COUNT(*) AS think_count FROM `tp_product` WHERE ( status =1 and title = '應急照明配電箱' ) [ RunTime:0.000822s ]
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.001026s ]
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.002830s ]
SELECT COUNT(*) AS think_count FROM `tp_product` WHERE ( status =1 and title = '應急照明配電箱' ) [ RunTime:0.000771s ]