Hi,
This query works in PGAdmin and validates via the Edit query dialog in ArcGIS 10.5 however raises:

select *,ST_Z(Shape) AS "Height" from awsprod.lccgis.FLO_BUILDING_FLOOR_HEIGHTS
If I remove the all important ST_Z(Shape) AS "Height" the query works fine in the attributes.
Regards,
Richard