如何插入视图?

时间:2019-06-10 08:00:00

标签: mysql

我从远程服务器上备份了一些数据库,当我尝试导入该备份时,我在本地服务器上遇到了问题。我在这一行出现错误:

-- 
-- Table structure for table `kean_mails`
-- 

CREATE ALGORITHM=UNDEFINED DEFINER=CURRENT_USER SQL SECURITY DEFINER VIEW `kean_mails` AS select `kean`.`kean_id` AS `id`,`kean`.`name` AS `name`,`kean`.`email` AS `email`,`kean`.`datekean` AS `datesub`,`kayan_acts`.`active` AS `active` from (`kean` join `kayan_acts` on((`kean`.`kean_id` = `kayan_acts`.`kean_id`)));

-- 
-- Dumping data for table `kean_mails`
-- 

INSERT INTO `kean_mails` VALUES (3, '', '', '0000-00-00 00:00:00', 0);

1394-如果没有字段列表,则无法插入联接视图'teachmea_kayan.kean_mails'

0 个答案:

没有答案