【发布时间】:2015-11-01 12:15:30
【问题描述】:
大家好,我似乎没有解决我的问题,即我需要列出客户 ID 以及客户推荐的客户数量......以下是我的表格:
clientID Name Referred
10001 jhon null
10002 scott 10001
10003 james null
10004 nelson 10003
10005 chris 10003
10006 jack 10001
10007 jeremy null
10008 cliford 10002
10009 matt null
10010 justin 10004
10011 brad 10001
10012 jason 10008
【问题讨论】:
-
您应该编辑问题并提供所需的结果。
标签: sql database oracle oracle11g