Mysql

来源:互联网 发布:澳门网络博客官方 编辑:程序博客网 时间:2024/05/01 16:19

在Mysql中两表联合查询时查询总条数。这个sql语句为什么不对:

select count(empolyee.id) from ( select *  from empolyee  join  departhment on empolyee.departhmentId = departhment.departhmentId       )  ,老是报Every derived table must have its own alias,请高手们指点