Skip to content

Tag: oracle

optimization select distinct query

How can i optimize this query, how to rewrite a request through exists: Answer Please use ANSI style join syntax, first of all. Now, Coming to your question, according to my knowledge NVL perform worse when working with large data sets. So how can we achieve the same functionality? — We can use DECODE o…

Need to create a Totals report from oracle table data

I have a table in oracle similar to the the example table image that I need to have output the segregated totals as shown in the second example results image. I need the sums of each item_type where A & B are just examples for a large number of possible items that can be added. example table: example resu…