create table enquiry (
    eqid integer not null auto_increment primary key,
    question varchar(500),
    cusID integer(100),
    tpid integer(100),
    staffid integer(100)
 );
alter table enquiry add foreign key(tpid) references tourpackage (tpid) ON DELETE CASCADE ON UPDATE CASCADE;
alter table enquiry add foreign key(staffid) references staff (staffid) ON DELETE CASCADE ON UPDATE CASCADE;
alter table enquiry add foreign key(cusID) references customer (cusID) ON DELETE CASCADE ON UPDATE CASCADE;
insert into enquiry
    values (0, "What is the minimum travel group size?",0,0,0);
insert into enquiry
    values (0, "Can we return at a later date?",0,0,0);
insert into enquiry
    values (0, "I would like to use my KrisFlyer miles points to redeem an air ticket. Is it possible?",0,0,0);
I have problem inserting my enquiry values in. Error state that cannot add or update child row.
 
    