flight SQL and toString()