0

当我将此选择命令放入我的 dataset.xsd

  select *
from
  (
    select TR_DEB,TR_FIN, T_UNITE.LIBELLE as LibUnite, ZONE, MONTANT 
    from TARIF_COURANT
    LEFT JOIN T_UNITE ON TARIF_COURANT.UNITE = T_UNITE.NO_ID
    where NO_CLIENT = '440104239' and zone in (1,2,3,4,6)
  )as T
pivot
  (
    min(MONTANT) for ZONE in ([1],[2],[3],[4],[6]) 
  )as P ORDER BY P.TR_DEB 

它说数据集不能接受数据透视。还有其他方法吗?

我尝试放入 Store 程序,但我无法单击第一个选项。看图片

提前谢谢你

4

0 回答 0