How do you add a column?



How do you add a column?..

Answer / Loveleen Kaur

To add a column in PostgreSQL, use the ALTER TABLE command with the ADD COLUMN clause. Here's an example:
ALTER TABLE table_name ADD COLUMN column_name data_type;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Postgre Interview Questions

Is postgresql a programming language?

1 Answers  


Does google use postgresql?

1 Answers  


Can a unique key be a foreign key?

1 Answers  


Which key can be used to execute a query in the query editor?

1 Answers  


How are the stats updated in postgresql?

1 Answers  


How many columns can a postgres table have?

1 Answers  


What does postgresql stand for?

1 Answers  


What is postgresql dba?

1 Answers  


How to drop all tables in postgresql?

1 Answers  


How to insert data from one table to another in postgresql?

1 Answers  


How to open postgresql gui in ubuntu?

1 Answers  


What port does postgresql listen on?

1 Answers  


Categories