SHOW FULL COLUMNS FROM `job` [ RunTime:0.000506s ]
SELECT * FROM `job` WHERE `id` = 17 LIMIT 1 [ RunTime:0.000262s ]
SHOW FULL COLUMNS FROM `company` [ RunTime:0.000413s ]
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.001030s ]
SELECT * FROM `job` WHERE ( name LIKE '%保安%' ) AND `id` <> 17 [ RunTime:0.000402s ]
SELECT * FROM `company` WHERE `id` = 30 LIMIT 1 [ RunTime:0.000251s ]
SELECT * FROM `job` WHERE `company_id` = 30 AND `id` <> 17 [ RunTime:0.000257s ]
SELECT *,(SELECT COUNT(*) AS think_count FROM `job` `count_table` WHERE ( `count_table`.`company_id` =company.id )) AS `job_count` FROM `company` WHERE `id` = 30 LIMIT 1 [ RunTime:0.000387s ]