Summary mysql query comprehensive exercise 0-personal memo

Source: Internet
Author: User


Summary mysql query comprehensive exercise 0-personal memo Command Line Mode 1. encoding format conversion (the command line is gbk encoding, and mysql must be told to be gbk encoding)

2. Insert a table, as shown in

3. Obtain the field attribute www.2cto.com of the definition table.

4. Calculate the average value of each course for all students

5. Find the identifier of each student failing each course (1 indicates failing, 0 indicates passing)

6. Find the number of student subjects

7. Find the average score and the number of students with the same number of subjects

Author hehe9737

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.