SHOW FULL COLUMNS FROM `company` [ RunTime:0.000477s ]
SHOW FULL COLUMNS FROM `job` [ RunTime:0.000367s ]
SELECT *,(SELECT AVG(`salary`) AS think_avg FROM `job` `avg_table` WHERE ( `avg_table`.`company_id` =company.id )) AS `job_avg`,(SELECT SUM(`num`) AS think_sum FROM `job` `sum_table` WHERE ( `sum_table`.`company_id` =company.id )) AS `job_sum` FROM `company` WHERE `id` = 66 LIMIT 1 [ RunTime:0.000381s ]
SHOW FULL COLUMNS FROM `comment` [ RunTime:0.000362s ]
SHOW FULL COLUMNS FROM `like` [ RunTime:0.000328s ]
SELECT *,(SELECT COUNT(*) AS think_count FROM `like` `count_table` WHERE ( `count_table`.`comment_id` =comment.id )) AS `likes_count` FROM `comment` WHERE `parent_id` = 0 AND `company_id` = 66 ORDER BY `create_time` DESC [ RunTime:0.000290s ]
SELECT COUNT(*) AS think_count FROM `comment` WHERE `company_id` = 66 [ RunTime:0.000212s ]
SELECT * FROM `job` WHERE `company_id` = 66 ORDER BY `create_time` DESC LIMIT 1 [ RunTime:0.000233s ]
SELECT * FROM `company` WHERE `id` = 66 LIMIT 1 [ RunTime:0.000203s ]
SELECT * FROM `comment` WHERE `company_id` = 66 [ RunTime:0.000177s ]
SELECT * FROM `job` WHERE `company_id` = 66 [ RunTime:0.000284s ]