corrected quoting for select statement