Answers for "create boolean column postgres"

SQL
0

postgresql create table with boolean column

CREATE TABLE stock_availability (
   product_id INT PRIMARY KEY,
   available BOOLEAN NOT NULL
);
Posted by: Guest on February-12-2021
0

how to add boolean column in postgresql

ALTER TABLE users
  ADD COLUMN "priv_user" BOOLEAN DEFAULT FALSE;
Posted by: Guest on August-11-2021

Code answers related to "create boolean column postgres"

Code answers related to "SQL"

Browse Popular Code Answers by Language