Sql Select Max Value From Multiple Rows In Singleton