SHOW FULL COLUMNS FROM `job` [ RunTime:0.000522s ]
SELECT * FROM `job` WHERE `id` = 40 LIMIT 1 [ RunTime:0.000282s ]
SHOW FULL COLUMNS FROM `company` [ RunTime:0.000404s ]
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.001157s ]
SELECT * FROM `job` WHERE ( name LIKE '%销售经理%' ) AND `id` <> 40 [ RunTime:0.000563s ]
SELECT * FROM `company` WHERE `id` = 45 LIMIT 1 [ RunTime:0.000266s ]
SELECT * FROM `job` WHERE `company_id` = 45 AND `id` <> 40 [ RunTime:0.000344s ]
SELECT *,(SELECT COUNT(*) AS think_count FROM `job` `count_table` WHERE ( `count_table`.`company_id` =company.id )) AS `job_count` FROM `company` WHERE `id` = 45 LIMIT 1 [ RunTime:0.000281s ]