如何为电话会议创建sql数据库?

时间:2015-10-25 05:47:05

标签: mysql sql

创建数据库后,在下面加载后显示错误是报告

错误

SQL查询:

CREATE ALGORITHM = UNDEFINED DEFINER =  `root`@`localhost` SQL SECURITY DEFINER VIEW  `conference`.`FriendList` AS SELECT  `f`.`userID` AS  `userID` ,  `f`.`frndID` AS  `frndID` ,  `d`.`Image` AS  `Image` 
FROM (

`conference`.`UserDetails`  `d` 
JOIN  `conference`.`usr_frns`  `f`
)
WHERE (
(
`f`.`Accepted` =1
)
AND (
`d`.`UserName` =  `root`.`frndID`
)
);

MySQL说:

#1054 - Unknown column 'root.frndID' in 'where clause' 

0 个答案:

没有答案