Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How to use OR, AND, BETWEEN, NOT, IN, and LIKE (including how to use the wildcard symbol '%',) Using your MYSQL workbench, please write queries

How to use OR, AND, BETWEEN, NOT, IN, and LIKE (including how to use the wildcard symbol '%',)

Using your MYSQL workbench, please write queries to address the following:

  • I want to see all data where admission rate is below 20% OR the 4 year grad rate is below 70%
  • I want the names of all colleges where the first letter of the college starts with 'c', and the last letter of the college is 'y'. (Hint: Text functions from excel usually work in mysql)
  • I want to see all data where the student faculty ratio is between 4 and 8
  • I want to see the school, state, and quality rank where the quality rank is above 10 only for the following states: "TX", "MA", "PA", "GA", "NY", and "CA" (hint: we would use IN to achieve this 2nd requirement).
  • I want to the count of all schools that have the word "university" in the school name that are not int he state of CA. (hint: we would use LIKE, and we would also use NOT here). Please provide both the SQL syntax and explanation

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

College Accounting A Practical Approach

Authors: Jeffrey Slater, Mike Deschamps

14th Edition

0134729315, 978-0134729312

More Books

Students also viewed these Accounting questions

Question

Determine miller indices of plane X z 2/3 90% a/3

Answered: 1 week ago

Question

5. How can I help others in the network achieve their goals?

Answered: 1 week ago