create table widep( cac NUMBER, ddate DATE, dtime TIMESTAMP, type VARCHAR2, amount NUMBER(10,2), constraint qwe foreign key(cac) references cust(cac) )
CREATE TABLE widep( cac NUMBER(10,2) not null, date DATE, dtime TIMESTAMP, type VARCHAR2(50), amount NUMBER(10,2), CONSTRAINT cac_fk FOREIGN KEY key(cac) REFERENCES cust(cac) );