unneeded ',' in sql query