當前位置:歷史故事大全網 - 圖書大全 - mysql中sql語句的編寫

mysql中sql語句的編寫

選擇t1.typeid,t 1 . count 1/T2 . count 2

(select a.typeid,count(*)count 1 from book table a,借閱表b其中a . bookid = b . bookid group by a . typeid)t 1,

(從借用表中選擇count(*)count 2)T2

  • 上一篇:黃江海德實驗學校怎麽樣?
  • 下一篇:上海交通大學李政道圖書館在哪裏?
  • copyright 2024歷史故事大全網