SHOW FULL COLUMNS FROM `company` [ RunTime:0.000546s ]
SHOW FULL COLUMNS FROM `job` [ RunTime:0.000468s ]
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` = 38 LIMIT 1 [ RunTime:0.000460s ]
SHOW FULL COLUMNS FROM `comment` [ RunTime:0.000384s ]
SHOW FULL COLUMNS FROM `like` [ RunTime:0.000324s ]
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` = 38 ORDER BY `create_time` DESC [ RunTime:0.000309s ]
SELECT COUNT(*) AS think_count FROM `comment` WHERE `company_id` = 38 [ RunTime:0.000302s ]
SELECT * FROM `job` WHERE `company_id` = 38 ORDER BY `create_time` DESC LIMIT 1 [ RunTime:0.000341s ]
SELECT * FROM `company` WHERE `id` = 38 LIMIT 1 [ RunTime:0.002565s ]
SELECT * FROM `comment` WHERE `company_id` = 38 [ RunTime:0.000249s ]
UPDATE `comment` SET `reads` = 1044 , `update_time` = '2024-11-15 01:15:52.249749' WHERE `id` = 149 [ RunTime:0.000245s ]
SELECT * FROM `job` WHERE `company_id` = 38 [ RunTime:0.000325s ]
SHOW FULL COLUMNS FROM `user` [ RunTime:0.000534s ]
SELECT * FROM `user` WHERE `id` = 72 LIMIT 1 [ RunTime:0.000238s ]
SELECT * FROM `comment` WHERE `parent_id` = 149 AND `parent_id` = 149 ORDER BY `create_time` DESC [ RunTime:0.000475s ]