来源:https://stackoverflow.com/questions/64054872/how-to-count-sql-based-on-a-datetime-and-an-other-variable 标签 sql sql-server string count window-functions