sql and argument review