Home >Database >Mysql Tutorial >mysql-难到初学者的MySQL多表查询问题

mysql-难到初学者的MySQL多表查询问题

WBOY
WBOYOriginal
2016-06-06 09:38:531500browse

mysqljava数据

本人初学java。请各位大牛帮帮忙。

学生表student (stu_id ,stu_name ); 课程表course (c_id,c_name);

成绩表score (stu_id ,c_id,score);

1、在学生表中添加一条数据:

2、查询名字为Tom的学生所选的课程:

3、查询stu_id为3的学生所学课程的成绩

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn