Set Sql Variable Using Select Statement Mysql Connector