给定如下SQL语句:SELECT employee.name, department.name FROM department, employee WHERE department.did=employee.did;下面选项中,与其功能相同的是

lk2025-01-07  7

题目:给定如下SQL语句:SELECT employee.name, department.name FROM department, employee WHERE department.did=employee.did;下面选项中,与其功能相同的是

A. SELECT employee.name, department.dname FROM department JOIN employee ON department.did=employee.did;

B. SELECT employee.name, department.dname FROM department CROSS JOIN employee ON department.did=employee.did;

C. SELECT employee.name, department.dname FROM department LEFT JOIN employee ON department.did=employee.did;

D. SELECT employee.name, department.dname FROM department RIGHT JOIN employee ON department.did=employee.did;

答案:评论后可见此内容

本站资源均来自互联网,侵权请联系站长删除

最新回复(0)
公众号图片
🔥推荐

推荐使用我们的公众号搜索题目,题目更全,检索更方便。支持语音、图片、文字等多种搜索方式。