SHOW FULL COLUMNS FROM `tb_univ_collegeinfo` [ RunTime:0.004959s ]
SELECT * FROM `tb_univ_collegeinfo` WHERE `id` = 1263 LIMIT 1 [ RunTime:0.005014s ]
select distinct b.year,sort
from tb_univ_collegeinfo_sort b,(select max(year) as yea
from tb_univ_collegeinfo_sort b
where b.univ_col_id =1263
and b.sort_type =1
and sort_name=859
and is_show=1) a
where b.univ_col_id =1263
and b.sort_type =1
and sort_name=859
and is_show=1
and year in (a.yea-2,a.yea-1,a.yea)
order by b.year desc
limit 3 [ RunTime:0.005477s ]
SHOW FULL COLUMNS FROM `tb_univ_majorinfo` [ RunTime:0.008623s ]
SELECT `a`.`id`,`a`.`major_detail_id`,`b`.`sort`,`school_id`,`major_cname`,`major_ename`,`major_detail_name`,aply_count as count,`a`.`univ_col_id` FROM `tb_univ_majorinfo` `a` LEFT JOIN `tb_univ_collegeinfo_sort` `b` ON `a`.`univ_col_id`=b.univ_col_id and a.major_detail_id = b.univ_major_class and b.sort_type =2 and b.sort_name = 862 and b.is_new =1 WHERE `a`.`univ_col_id` = '1263' AND `a`.`is_show` = '1' AND `a`.`status` = '0' ORDER BY `aply_count` DESC,left(major_allname_py,1) ASC LIMIT 6 [ RunTime:0.005378s ]
select count(distinct school_id) as count from tb_univ_majorinfo where univ_col_id=1263 [ RunTime:0.005417s ]
select count(distinct id) as count from tb_univ_majorinfo where univ_col_id=1263 [ RunTime:0.004643s ]
SHOW FULL COLUMNS FROM `tb_news` [ RunTime:0.004777s ]
SELECT DISTINCT n.*,`newsid` FROM `tb_news` `n` LEFT JOIN `tb_advisernews` ON `id_news`=`newsid` WHERE ( type_news in ('succ','acpt') ) AND `id_univ` = 1263 ORDER BY `time_news` DESC,`id_news` DESC LIMIT 4 [ RunTime:0.006446s ]
SELECT DISTINCT n.*,`newsid` FROM `tb_news` `n` LEFT JOIN `tb_advisernews` ON `id_news`=`newsid` WHERE ( type_news in ('succ','acpt') ) AND ( id_univ!=1263 ) AND ( ctry_news=81 ) ORDER BY `time_news` DESC,`id_news` DESC LIMIT 4 [ RunTime:0.005427s ]
select report_id,applyschool,cname_clss,pass_count,fail_count,pass_rate
from tb_data_applyoffer_base c
left join tb_classes s on c.applymajortypedetailid = s.id_clss
left join tb_univ_collegeinfo f on c.applyschoolid = f.id
left join tb_category cc on c.applymajortypeid = cc.id_cate
where c.applyschoolid= 1263 order by rand()
limit 1 [ RunTime:0.005178s ]
select distinct hot_cover,b.id,title,create_at,m_reading,school_id,video,b.level_limit
from tb_article_content b,tb_major_information a ,tb_information_count c
left join tb_univ_collegeinfo d on c.school_id=d.id
where a.article_id=b.id
and c.id=a.information_id
and school_id= 1263 and deleted_at is null
and c.type=1
and video!=''
and information_type=2
and b.status=2
AND b.show_type = 1
order by a.is_top desc,create_at desc
limit 2 [ RunTime:0.005474s ]
SHOW FULL COLUMNS FROM `tb_major_information` [ RunTime:0.006511s ]
SELECT `mi`.`id`,`mi`.`article_id`,`mi`.`information_type`,`mi`.`is_top`,`ac`.`create_at`,`ac`.`title`,`ac`.`reading`,`ac`.`m_reading`,`ac`.`mp_reading`,`ac`.`web_reading`,`ac`.`desc`,`ac`.`video`,`ac`.`cover`,`ac`.`hot_cover`,`ac`.`type`,`ac`.`tags`,ac.create_at as time,`ac`.`level_limit`,`ac`.`cate_id` FROM `tb_major_information` `mi` LEFT JOIN `tb_information_count` `ic` ON `mi`.`information_id`=ic.id and type=1 LEFT JOIN `tb_article_content` `ac` ON `ac`.`id`=`mi`.`article_id` WHERE `ac`.`show_type` = '1' AND `information_type` = 1 AND `ac`.`status` = '2' AND `school_id` = '1263' AND `deleted_at` IS NULL ORDER BY `mi`.`is_top` DESC,`ac`.`create_at` DESC LIMIT 3 [ RunTime:0.004803s ]
SHOW FULL COLUMNS FROM `tb_univ_monitored` [ RunTime:0.006350s ]
SELECT * FROM `tb_univ_monitored` WHERE `univ_id` = 1263 LIMIT 1 [ RunTime:0.004882s ]
SHOW FULL COLUMNS FROM `tb_handbook` [ RunTime:0.004982s ]
SELECT * FROM `tb_handbook` WHERE `type_hb` = 2 AND `relatedid_hb` = 1263 AND `show_hb` = 1 LIMIT 1 [ RunTime:0.005761s ]