delete from ft_center where ft_center.ft_id in (
  select ft.ft_id
  from ft inner join ft_center on (ft_center.ft_id=ft.ft_id)
  where ft.ft_type_id not in (2,
                      301,
                      511,512,513,514,515,
                      602,603,604,
                      617,618,619,
                      633,634,
                      641,642,643,651,
                      662,671,681,686)
  )
