N
newmaid
Unregistered / Unconfirmed
GUEST, unregistred user!
oracle 表a字段: 名称,日期,次数sql语句1. select a.名称,sum(a.次数) as a1 from a where 日期='1900-01-01' sql语句2. select a.名称,sum(a.次数) as a2 from a where 日期<>'1900-01-01'我想显示结果如下,(用一句sql写出)名称,次数,a1,a2...............请问应该如何写sql语句,新手,请否吝指教.万分感谢!