zhiqingstudy

Be a young person with knowledge and content

Q: How can I query the information of a student surnamed Zhang in the student data table?

1. Fuzzy query keyword: like

2. For multiple arbitrary characters:%

3. To represent an arbitrary character, use:_

example: SELECT * FROM ` ceshi1 ` WHERE ` name ` LIKE 'Zhang%';

Scope of application: It is suitable for querying information of any length starting with a certain character.

Q: How can I query the student information of a student whose surname is Zhang and whose first name is only two words in the student data table?

example: SELECT * FROM ` ceshi1 ` WHERE ` name ` LIKE 'Song _';

Scope of application: It is suitable to limit the length of the query string.

comment
head sculpture
Code:
Related

Why you shouldn't stay at a job for more than 2 years?

3 harsh facts long-distance relationships

how to keep your girlfriend interested in a long-distance relationship




Unless otherwise specified, all content on this website is original. If the reprinted content infringes on your rights, please contact the administrator to delete it
Contact Email:2380712278@qq.com

Filing number:皖ICP备19012824号