Skip to content

Tag: oracle

Count values between double quotes and brackets

How can I group by and count the values separated by double quotes between the brackets? I have 400K rows, so I’m also concerned about performance. Desired output: Answer Do you mean something like this? (The with clause is only for testing – remove it, and use your actual table and column names i…

Sum with two column is SQL Oracle

I have two columns in a SQL table and I need a third column with the sum of the other two. It’s possible to add a calculated column? Answer Yes it is possible. I did this in the following query, of course, if the columns are numeric If you want to combine two columns, use the following query