Mega Code Archive

 
Categories / PostgreSQL / Array
 

Creating a table with an array column

postgres=# -- Creating a table with an array column postgres=# postgres=# CREATE TABLE books (employee_id integer, books text[]); CREATE TABLE postgres=# postgres=# postgres=# drop table books; DROP TABLE postgres=#