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

WBOY
Release: 2016-06-06 09:38:53
Original
1396 people have browsed it

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的学生所学课程的成绩

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!