我需要转动下表命名tblGameRoleName -
Game Role Name
VolleyBall Coach Sujatha
VolleyBall Player Rajendran
VolleyBall Player Juno
VolleyBall Player Indira
VolleyBall Player Ganesh
VolleyBall Player Vasa
我有两个表;潜在客户,领土和推荐人。 铅的列: ID, Name, TerritoryId 引荐具有: ID, LeadId, Name 领土有: ID and Name 的引线总是涉及领土和引线可任选地涉及一种引荐。 定期插入潜在顾客和推荐人记录(推荐人不太常见)。我想输出在GridView的报告看起来像这样:
Territory | Lead Count | Ref1 Lead Count