Let’s say that I have the table below:
| Cod | Name
| 0 |
| 1 |
| 2 |
| 3 |
| 4 |
What I want is to fill name column with “Name” + Cod, like this:
| Cod | Name
| 0 | Name0
| 1 | Name1
| 2 | Name2
| 3 | Name3
| 4 | Name4
It’s for testing.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you already have column
Name, just update:Note, that you have to double-quote identifiers if you want to keep them as is (capitalized), otherwise they all are transfered to lowercase by PostgreSQL.