As most of us know, Postgres and SQL define reserved and non-reserved key words, like and, all etc. I'm looking for naming conventions in case a column name needs (or is best suited) to be called and, all or say key.
https://www.postgresql.org/docs/current/sql-keywords-appendix.html
What I do is to append _f (field) to given name, for example key_f. But this looks pretty ugly. Is there a standardized naming convention for issue like that or at least the most popular one?
_to names like that, e.g.key_ordate_. I always try to find a better name, e.g.user_accountinstead ofuser-keyisn't really a good name to begin with I think as it doesn't really describe what kind of "key" that is.z(to be pronounced with a German accent:zdate,zkey,zuser...)