Changed mysql->sa for tables