edited indication entry into sql query