The following lines contain the word 'select', 'insert', 'update' or 'delete':
l_sel_clause := poa_dbi_sutil_pkg.get_viewby_select_clause(P_VIEWBY => p_view_by_dim
,P_FUNC_AREA => 'PO'
,P_VERSION => '6.0');
(SELECT (rank() over(&ORDER_BY_CLAUSE nulls last, ' || p_view_by_col;
FROM (SELECT ' || p_view_by_col || ',' || p_view_by_col || ' VIEWBY,' || p_view_by_col || ' VIEWBYID, ';
l_sel_clause := poa_dbi_sutil_pkg.get_viewby_select_clause(P_VIEWBY => p_view_by_dim
,P_FUNC_AREA => 'PO'
,P_VERSION => '6.0');
FROM (SELECT (rank() over(&ORDER_BY_CLAUSE nulls last, ' || p_view_by_col || ')) - 1 rnk,' || p_view_by_col || ',';
FROM (SELECT ' || p_view_by_col || ',' || p_view_by_col || ' VIEWBY,' || p_view_by_col || ' VIEWBYID, ' || p_view_by_col || ' POA_ATTRIBUTE1,';