The following lines contain the word 'select', 'insert', 'update' or 'delete':
l_new_stmt := 'Select distinct p.full_name' || l_columns_to_append || nvl(p_key_col_clause,' ') ||
l_new_stmt;
l_new_stmt := 'Select distinct ''full_name unavail'' ' || l_columns_to_append || nvl(p_key_col_clause,' ') ||
l_new_stmt;
l_new_stmt := 'Select distinct ''full_name unavail'' ' || l_columns_to_append || l_new_stmt;
l_new_stmt := 'Select distinct p.full_name' || l_columns_to_append || l_new_stmt;