SELECT
  RTRIM([Origin]) AS [origin],
  RTRIM([Account]) AS [account],
  RTRIM([FSPR]) AS [fspr],
  RTRIM([TDATE]) AS [tdate],
  RTRIM([Party]) AS [party],
  [Amount] AS [amount],
  RTRIM([EBITDA]) AS [ebitda],
  RTRIM([Project]) AS [project],
  RTRIM([Clause]) AS [clause],
  RTRIM([flag]) AS [flag]
FROM [FANALYSIS].[GS].[AB]
