Skip to content

Fallback value for column? #8852

Discussion options

You must be logged in to vote

You can create a view which selects the COALESCED value:

create view translations_with_defaults as
select coalese( sv, en), coalesce(es, en) from translations

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by robertjdominguez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
Converted from issue

This discussion was converted from issue #6747 on August 25, 2022 09:39.