SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
create table customers ( id serial PRIMARY KEY, name text ); create table orders ( id serial PRIMARY KEY, customer_id int ); alter table orders ADD FOREIGN KEY (customer_id) REFERENCES customers(id) ;
Stuck with a problem? Got Error? Ask ChatGPT!
Copy Clear