Question: 1. Write an SQL query to list the total number of suppliers who are not from China or Brazil and whose ratings are higher than
1. Write an SQL query to list the total number of suppliers who are not from China or Brazil and whose ratings are higher than 8.0.
2. Write an SQL query to list the maximum, minimum and average incomes of customers who have visited at least location in the USA.
3. Write an SQL query to list the names and states of male customers who live in CO, FL or WA and who bought an itinerary between Jan 10, 2015 and October 15, 2020, such that the duration of the trip was 5 days and longer. Sort the result on name.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
