Skip to content

Select list as column in Oracle SQL

I would like to append a few rows to an already existing table (15 rows to be precise). What is the quickest way to do this? This works, but it seems redundant. I was wondering if there’s a solution along the lines of: Please note that I want to preserve the leading zeros for each element in my list. Th…

One select instead two selects with where

I have two similar select like this: I would like to simplify to one query, is it possible to write one select instead of this two? Answer Yes. One method is two columns using conditional aggregation: Another is separate rows:

How can I best implement async into my WPF application?

I’m working on a WPF application that runs SQL queries and returns a data grid of the results when pressed. Currently, the structure of my methods as I try to figure out async is as follows: Depending on the query ran, my application can get for anywhere between 30 seconds to 20 minutes. I have a progre…

Oracle select same id where 2 exist

so this query of this Oracle table shows 2 rows with same id all good — but there are other ids that have more than 1 entry as well so this query: works but brings back 2 different ids that both have more than 1 entry I don’t care which id I get. I just want both of the ids