在下表中(书名、作者、单价、入库时间、是否外借)要查询各年份入库的图书金额并显示金额超过2000元的结果下列SQL语句正确的是__。(图书编号()
A. SELECT YEAP(入库时间),SUM(单价)FROM图书GROUP入库时间HAVING SUM(单价)20000
B. SELECT YEAR(入库时间),SUM(单价)FROM图书GROCP BY YEAR(入库时间)HAVINGSUN(单价)>20000
C. SELECT YEAR(入库时间),SUM(单价)FROM图书GROCP BY YEAR(入库时间)WHERESUN(单价)20000
D. SELECT YEAR(入库时间),SUM(单价)FROM图书WHERE SUM(入库时间)GROUP BYYEAR(单价)20000