当前位置: 代码迷 >> Sql Server >> 求一存储过程,狂谢! 有点难哦.100分
  详细解决方案

求一存储过程,狂谢! 有点难哦.100分

热度:6   发布时间:2016-04-27 15:39:26.0
求一存储过程,狂谢! 有点难哦.100分求助
表结构:
ID                   TypeName                                                                       SupTypeID      
-----------   ----------------   -----------  
1                       Agriculture                                                                                 0
2                       Apparel   &   Fashion                                                                     0
3                       Automobile                                                                                   0
4                       Business   Services                                                                     0
5                       Agriculture   &   By-product   Agents                                         1
6                       Agriculture   Product   Stocks                                                   1
7                       Agriculture   Products   Processing                                         1
8                       Other                                                                                             6
9                       Animal   Extract                                                                           6
10                     Animal   Fodders                                                                           7
  相关解决方案