Student Information MySql Python's daily practice 329-- a query name contains the word wind

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


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

Student information query name contains "wind" word

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 analysis

There are two wildcards like

% (Percent sign): represents zero, one, or more characters.

_ (Underscore): represents a number or character.

Four, Mysql program

1, Mysql program:

Student Information MySql Python's daily practice 29-- a query name contains the word wind

2, Mysql results:

Student Information MySql Python's daily practice 29-- a query name contains the word wind

Original articles published 0 · won praise 0 · Views 287

Guess you like

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