Skip to content

Filling a column with similar values in SQL

I’m beginner on StandardSQL My Table : I need your help to get the transactionId to be duplicated on each row instead of the Blank. My Query : Answer You already have transactionId on each row. Your query generates rows where each row has transactionId and some array. The BigQuery GUI just formats array…

SQL handle select with split strings

I have a request whom looks like this : “SELECT CLCLEUNIK ,NOM ,VILLE ,CODEP FROM CLIENT WHERE NOM LIKE :nom COLLATE Latin1_general_CI_AI” the :nom is a String, whom can be one word or many words….

ORA-01722- Invalid Number

I have a query in the package throwing error ORA-01722 : invalid number. I tried many ways but no luck. select h.column from table1 h,table2 c where c.created_date=’17-MAY-17′ and nvl(c….

Database Data Type

I need to develop API from the database which already exists.I have got notice some of the IDs have a “Code” key word before the data type ( mostly “char”). Could you please help me to understand what …