python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Get all ltree nodes at depth
I have an ltree column containing a tree with a depth of 3. I'm trying to write a query that can select all children at a specific depth (level 1 = get all parents, 2 = get all children, 3 = get all g...
Optimum
Votes: 0
Answers: 1
How can I replace the 'S for a 's in postgresql?
I have a table with large amount of 'S wrongly added and I want to replace it for 's:
I have tried with replace(field, ''S', ''s') but obviously doesn't accept it for the ', I also tried with the $$...
gcj
Votes: 0
Answers: 1
Multiple case in update postgres
I need to update 2 columns in table with same conditions. I know, that each of them would take a lot of time. How can I concatenate 2 updates into 1, which can be faster?
-- first update
update t1
set...
yuoggy
Votes: 0
Answers: 2
How to use inticap and leave last part in capital letter in postgresql 11
I have a table with address all in capital but I am trying to format it like this:
145 WELLBEING STREET, PARADE, LONDON, PP1 5PP
145 Wellbeing Street, Parade, London, PP1 5PP
How can i work with that?...
gcj
Votes: 0
Answers: 1