Skip to content

InfluxQL: tag called Group causing grief

I have to work with an influxDB database and one of the tags is called Group. For example the query select * from Testing limit 10 returns The problem is when I try to have a rule based on group, e.g. I get an error that says ERR: error parsing query: found GROUP, expected identifier, string, number, bool at …

need an additional column in SQL output

I have a table called product_info where there are two columns(product, product_id).There are 5 ‘product_id’ and 10 ‘product’. I wrote the following code to list products and their count.Now I need to create an additional column called ‘favorite_product’ if the ‘produ…

Oracle Apex – Case within a where statement

I’m having issues while running the following query (interactive report / simplified the query cause I’m sure the issue is with the case statement): The error is this one: ORA-20999. Does someone know why this is happening? (:p28 items are calculated via computations and work perfectly) Thanks! An…

How to convert generic XML to a table row in PostgreSQL?

PostgresSQL v12.5 There is a table with single column containing strings formatted as XML. For simplicity let’s claim that there are no nesting: all tags inside <something> contain primitive values (strings). Assuming that there are much more elements than <a> and <b> inside, it would …