Sqliste Querying Data Exercise 2

Source: Internet
Author: User

1. Query the teacher all units that are not duplicated depart column.

2. Query all records of the student table in descending order of class.

3. Query all records of the score table in CNO Ascending, degree descending order.

4. Check the number of students in the "95031" class.

5. Check the student number and course number of the highest score in the score table. (sub-query or sort)

6. The query score is greater than 70, less than the Sno column of 90.

7. Check the records of all students in class 95033 and 95031

8. Check for a course CNO with 85 or more results.

9. Check the name, sex and birthday of all teachers and classmates.

10. Check the records of the students who are not named "Wang" in the student table.

11. Query all records in the student table in order of class and age from large to small

Sqliste Querying Data Exercise 2

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.