SHOW FULL COLUMNS FROM `job` [ RunTime:0.000447s ]
SELECT * FROM `job` WHERE `id` = 8 LIMIT 1 [ RunTime:0.000254s ]
SHOW FULL COLUMNS FROM `company` [ RunTime:0.000322s ]
SELECT *,(SELECT COUNT(*) AS think_count FROM `job` `count_table` WHERE ( `count_table`.`company_id` =company.id )) AS `job_count`,(SELECT AVG(`salary`) AS think_avg FROM `job` `avg_table` WHERE ( `avg_table`.`company_id` =company.id )) AS `job_avg` FROM `company` ORDER BY job_avg desc LIMIT 10 [ RunTime:0.000940s ]
SELECT * FROM `job` WHERE ( name LIKE '%程序员%' ) AND `id` <> 8 [ RunTime:0.000392s ]
SELECT * FROM `company` WHERE `id` = 33 LIMIT 1 [ RunTime:0.000270s ]
SELECT * FROM `job` WHERE `company_id` = 33 AND `id` <> 8 [ RunTime:0.000295s ]
SELECT *,(SELECT COUNT(*) AS think_count FROM `job` `count_table` WHERE ( `count_table`.`company_id` =company.id )) AS `job_count` FROM `company` WHERE `id` = 33 LIMIT 1 [ RunTime:0.000281s ]