Adding comment to column when I create table in PostgreSQL?
Comments are attached to a column using the comment statement: create table session_log ( userid int not null, phonenumber int ); comment on column session_log.userid is ‘The user ID’; comment on column session_log.phonenumber is ‘The phone number including the area code’; You can also add a comment to the table: comment on table session_log is … Read more