數據庫查詢語句

DB 查詢某一時間段內某個字段的數量和的最大值。 比如說 大體意思就是 在2017年11月份內的 s_flag是0000的最多的是有多少? select max(a) max from (select count(s.s_flag) a,s.s_data data from student s where s.s_flag =’0000’ and s.s_data between ‘2017-11
相關文章
相關標籤/搜索