# -*- coding: cp936 -*- import arcpy, os, string #Read input parameters from script tool PDFList = string.split(arcpy.GetParameterAsText(0), ";") outPDFpath = arcpy.GetParameterAsText(1) #Create a new PDF object to store the results outputPDF =
思路: 自连接,使用For XML Path('')和STUFF函数 SELECT * FROM STUDENT Name Team------------------------- -------------------------Jack Team1Rose Team1Cindy Team1Richard