[ACCEPTED]-Adding A Column that doesn't exist in a query-postgresql
Accepted answer
Yes, sure:
select a, b, 3 as c from table_test
That's it. It works on three db 1 engines you've mentioned.
You should use:
SELECT A,B, 3 AS C FROM TABLE_TEST
0
you can use as
Select a,b, 3 as c from table
This is known as alias
0
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.