pgsql=# -- Multiline comments pgsql=# SELECT 'Multi' /* This comment extends across pgsql*# * numberous lines, and can be pgsql*# * /*nested safely */ pgsql*# Can you understand pgsql*# * Now the end*/ pgsql-# || '-test' AS example; example ---------…
selectname,md5(indvl_id_nbr) as indvl_id_nbr,case when char_length(indvl_id_nbr)=18 or char_length(indvl_id_nbr)=15 then substring(indvl_id_nbr from 1 for 6)end as id_prefix, case when char_length(indvl_id_nbr)=18 then substring(indvl_id_nbr from 7 f…