MySql Python's daily practice 228-- a query boys, girls number

Refer to the original article -http: //bjbsair.com/2020-03-25/tech-info/6226/


First, the table names and field

-1 student table student (s_id, s_name, s_birth, s_sex) -. Student number, student's name, date of birth, student sex

-2 curriculum course (c_id, c_name, t_id) -. Course number, course name, teacher numbers

-3 teacher table teacher (t_id, t_name) -. No teacher, teacher's name

-4 transcript score (s_id, c_id, s_score) - student number, course number, score


Two, Mysql title

Queries male and female persons

Read the small partners, look forward to your valuable vote cast, the late Big Star @Python based on the difficulty factor, to which 50 SQL question reordering, sorting summary.

Degree of difficulty (radio) 0 person 0% A. ★ 0 person 0% B. ★★ 0 person 0% C. ★★★ 0 person 0% D. ★★★★ 0 person 0% E. ★★★★ ★ vote

Three, Mysql program

1, Mysql program:

MySql Python's daily practice 28-- a query boys, girls number

2, Mysql results:

MySql Python's daily practice 28-- a query boys, girls number

Original articles published 0 · won praise 0 · Views 290

Guess you like

Origin blog.csdn.net/zxjoke/article/details/105108484