Skip to content
Advertisement

Tag: select

Update table using select and where

I have two tables: table ficha_atendimento int id string cidadaos_cns table cidadaos int id string cns I need do create a column int cidadaos_id on table ficha_atendimento_cidadao and I like to …

Extract a specific value from a string in a column

Need help with a situation, I need to extract a specific value from a column containing string. The string varies over different records, but the value I need to extract is always preceded by the word “VERSION” I tried to user REVERSE & SUBSTRING but not able to get exact results. Any help will be greatly appreciated the table looks

Advertisement