Added LOWER() for table name in Redshift