change table alias syntax to be compatible with the big red database