标题: [求助]SQL [打印本页] 作者: zenglaosan01 时间: 2005-3-3 16:56 标题: [求助]SQL SELECT Max(IIf([字段1]="AN -",[字段2])) AS AN, Max(IIf([字段1]="AP -",[字段2])) AS AP, Max(IIf([字段1]="R -",[字段2])) AS PR, Max(IIf([字段1]="TI -",[字段2])) AS TI, Max(IIf([字段1]="IW -",[字段2])) AS IW, Max(IIf([字段1]="A -",[字段2])) AS PA, Max(IIf([字段1]="N -",[字段2])) AS PN, Max(IIf([字段1]="IC -",[字段2])) AS IC, MAX(IIf([字段1]="AB -",[字段2])) AS AB