in reply to Re: DBD::Pg INSERT enlightenment
in thread DBD::Pg INSERT enlightenment
However that may be overkill for your purposes, and being no database and sql expert my syntax may not work (I only know mySQL and Access, and neither perfectly).create table products ( prod_id int primary key, model_num int ); create table prod_desc ( prod_id int foreign key, desc text ); SELECT desc FROM products p, prod_desc d WHERE p.prod_id = d.prod_id A +ND p.prod_id = ?;
|
---|