mysql计算机二级真题
MySQL(My Structured Query Language)是一种关系型数据库管理系统,是最流行的开源数据库之一。MySQL的高效性和稳定性使得它成为了许多应用程序和网站的首选数据库。在计算机二级考试中,MySQL的使用也是必须要掌握的技能之一。
以下是2019年计算机二级的MySQL真题:
1. 请问以下两个表的联结语句正确的是? 表名:students 表名:score ---------- ---------- ID Name ID Course Score 1 Tom 1 Math 85 2 Jerry 1 English 75 3 Peter 2 Math 90 2 English 80 A. SELECT * FROM students, score WHERE students.id = score.id; B. SELECT * FROM students INNER JOIN score ON students.id = score.id; C. SELECT * FROM students LEFT OUTER JOIN score ON students.id = score.id; D. SELECT * FROM students RIGHT OUTER JOIN score ON students.id = score.id; 答案:B