postgres database create 1

postgres database create

CREATE DATABASE kinjal_postgre;

Here is what the above code is Doing:
1. We are creating a database named kinjal_postgre.
2. We are creating a table named kinjal_table.
3. We are creating a column named id which is of type integer and is the primary key.
4. We are creating a column named name which is of type text.
5. We are creating a column named age which is of type integer.
6. We are creating a column named address which is of type text.
7. We are creating a column named salary which is of type real.

Similar Posts