title: how we delete a row from parent table when child table connected with paren table by forigen key
body: <p>hi all i am getting a problem while i attenpting to delete a row from  parent table, actuall i have created 2 table  custmer and account.i make cutomer id(primary  key) in customer and customer id (forigen key ) in account.after created it i have filled data inside both table.
  at this point while i am trying to delete a row from first table (customer ) then it give failure message is that it can't be deleted bcs it is refrenced as forigen key some thing like that............but while we delete row from account table then it's delete sucess fully.
  .......i want to function like that if i delete a row from parent table(customer) then its in child table that row which has same customer id (account table) is delete automatically............</p>