Rest respects the alias provided in the sql statement