• Are you saying

    CAST(SUM(FileSize)AS BIGINT) MB, CAST(SUM(FileSize)/1000 AS BIGINT) GB from o_file where volid = 16 and groupid = 221

    Because I still get, "incorrect syntax near the keyword 'sum'"