├── Acceptance Rate By Date.sql ├── Average Salaries.sql ├── Classify each business as either a restaurant, cafe, taqueria, kitchen, garden, school, or other.sql ├── Count the number of inspections with violations that happened to 'Roxanne Cafe' in each year.sql ├── Count the number of movies that Abigail Breslin nominated for oscar.sql ├── Count the number of user events performed by MacBookPro users.sql ├── Counting Instances in Text.sql ├── Customer Details.sql ├── Customer Revenue In March.sql ├── Employee and Manager Salaries.sql ├── Find all posts which were reacted to with a heart.sql ├── Find all wineries which produce wines by possessing aromas of plum, cherry, rose, or hazelnut.sql ├── Find artists that have been on Spotify the most number of times.sql ├── Find hotels with the highest number of reviews.sql ├── Find libraries who haven't provided the email address in 2016 but their notice preference definition is set to email.sql ├── Find matching hosts and guests in a way that they are both of the same gender and nationality.sql ├── Find songs that have placed in the top position the most number of times.sql ├── Find the activity date of churros when they had less than 95 points.sql ├── Find the average popularity of the Hack per office location.sql ├── Find the base pay for Police Captains.sql ├── Find the highest number of 'cool' votes a review received.sql ├── Find the most profitable company in the financial sector of the entire world along with its continent.sql ├── Find the number of apartments per nationality that are owned by people under 30 years old.sql ├── Find the rate of processed tickets for each type.sql ├── Find the three most profitable companies.sql ├── Find the top 10 ranked songs in 2010.sql ├── Find the top 5 businesses with most reviews.sql ├── Finding Updated Records.sql ├── Highest Cost Orders.sql ├── Highest Energy Consumption.sql ├── Highest Salary In Department.sql ├── Highest Target Under Manager.sql ├── Host Popularity Rental Prices.sql ├── Income By Title and Gender.sql ├── Largest Olympics.sql ├── Lowest Priced Orders.sql ├── Lyft Driver Wages.sql ├── Marketing Campaign Success.sql ├── Most Orders By Customer.sql ├── No Order Customers.sql ├── Number Of Bathrooms And Bedrooms.sql ├── Number of Streets Per Zip Code.sql ├── Order Details.sql ├── Out of Order Bikes.sql ├── Popularity Percentage.sql ├── Premium vs Freemium.sql ├── README.md ├── Ranking Most Active Guests.sql ├── Salaries Differences.sql ├── Top 5 States With 5 Star Businesses.sql ├── Top Cool Votes.sql ├── Top Search Results.sql └── Valuable Departments.sql /Acceptance Rate By Date.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Acceptance Rate By Date.sql -------------------------------------------------------------------------------- /Average Salaries.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Average Salaries.sql -------------------------------------------------------------------------------- /Classify each business as either a restaurant, cafe, taqueria, kitchen, garden, school, or other.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Classify each business as either a restaurant, cafe, taqueria, kitchen, garden, school, or other.sql -------------------------------------------------------------------------------- /Count the number of inspections with violations that happened to 'Roxanne Cafe' in each year.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Count the number of inspections with violations that happened to 'Roxanne Cafe' in each year.sql -------------------------------------------------------------------------------- /Count the number of movies that Abigail Breslin nominated for oscar.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Count the number of movies that Abigail Breslin nominated for oscar.sql -------------------------------------------------------------------------------- /Count the number of user events performed by MacBookPro users.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Count the number of user events performed by MacBookPro users.sql -------------------------------------------------------------------------------- /Counting Instances in Text.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Counting Instances in Text.sql -------------------------------------------------------------------------------- /Customer Details.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Customer Details.sql -------------------------------------------------------------------------------- /Customer Revenue In March.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Customer Revenue In March.sql -------------------------------------------------------------------------------- /Employee and Manager Salaries.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Employee and Manager Salaries.sql -------------------------------------------------------------------------------- /Find all posts which were reacted to with a heart.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Find all posts which were reacted to with a heart.sql -------------------------------------------------------------------------------- /Find all wineries which produce wines by possessing aromas of plum, cherry, rose, or hazelnut.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Find all wineries which produce wines by possessing aromas of plum, cherry, rose, or hazelnut.sql -------------------------------------------------------------------------------- /Find artists that have been on Spotify the most number of times.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Find artists that have been on Spotify the most number of times.sql -------------------------------------------------------------------------------- /Find hotels with the highest number of reviews.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Find hotels with the highest number of reviews.sql -------------------------------------------------------------------------------- /Find libraries who haven't provided the email address in 2016 but their notice preference definition is set to email.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Find libraries who haven't provided the email address in 2016 but their notice preference definition is set to email.sql -------------------------------------------------------------------------------- /Find matching hosts and guests in a way that they are both of the same gender and nationality.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Find matching hosts and guests in a way that they are both of the same gender and nationality.sql -------------------------------------------------------------------------------- /Find songs that have placed in the top position the most number of times.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Find songs that have placed in the top position the most number of times.sql -------------------------------------------------------------------------------- /Find the activity date of churros when they had less than 95 points.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Find the activity date of churros when they had less than 95 points.sql -------------------------------------------------------------------------------- /Find the average popularity of the Hack per office location.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Find the average popularity of the Hack per office location.sql -------------------------------------------------------------------------------- /Find the base pay for Police Captains.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Find the base pay for Police Captains.sql -------------------------------------------------------------------------------- /Find the highest number of 'cool' votes a review received.sql: -------------------------------------------------------------------------------- 1 | SELECT MAX(cool) 2 | FROM yelp_reviews; -------------------------------------------------------------------------------- /Find the most profitable company in the financial sector of the entire world along with its continent.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Find the most profitable company in the financial sector of the entire world along with its continent.sql -------------------------------------------------------------------------------- /Find the number of apartments per nationality that are owned by people under 30 years old.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Find the number of apartments per nationality that are owned by people under 30 years old.sql -------------------------------------------------------------------------------- /Find the rate of processed tickets for each type.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Find the rate of processed tickets for each type.sql -------------------------------------------------------------------------------- /Find the three most profitable companies.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Find the three most profitable companies.sql -------------------------------------------------------------------------------- /Find the top 10 ranked songs in 2010.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Find the top 10 ranked songs in 2010.sql -------------------------------------------------------------------------------- /Find the top 5 businesses with most reviews.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Find the top 5 businesses with most reviews.sql -------------------------------------------------------------------------------- /Finding Updated Records.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Finding Updated Records.sql -------------------------------------------------------------------------------- /Highest Cost Orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Highest Cost Orders.sql -------------------------------------------------------------------------------- /Highest Energy Consumption.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Highest Energy Consumption.sql -------------------------------------------------------------------------------- /Highest Salary In Department.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Highest Salary In Department.sql -------------------------------------------------------------------------------- /Highest Target Under Manager.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Highest Target Under Manager.sql -------------------------------------------------------------------------------- /Host Popularity Rental Prices.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Host Popularity Rental Prices.sql -------------------------------------------------------------------------------- /Income By Title and Gender.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Income By Title and Gender.sql -------------------------------------------------------------------------------- /Largest Olympics.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Largest Olympics.sql -------------------------------------------------------------------------------- /Lowest Priced Orders.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Lowest Priced Orders.sql -------------------------------------------------------------------------------- /Lyft Driver Wages.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Lyft Driver Wages.sql -------------------------------------------------------------------------------- /Marketing Campaign Success.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Marketing Campaign Success.sql -------------------------------------------------------------------------------- /Most Orders By Customer.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Most Orders By Customer.sql -------------------------------------------------------------------------------- /No Order Customers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/No Order Customers.sql -------------------------------------------------------------------------------- /Number Of Bathrooms And Bedrooms.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Number Of Bathrooms And Bedrooms.sql -------------------------------------------------------------------------------- /Number of Streets Per Zip Code.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Number of Streets Per Zip Code.sql -------------------------------------------------------------------------------- /Order Details.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Order Details.sql -------------------------------------------------------------------------------- /Out of Order Bikes.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Out of Order Bikes.sql -------------------------------------------------------------------------------- /Popularity Percentage.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Popularity Percentage.sql -------------------------------------------------------------------------------- /Premium vs Freemium.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Premium vs Freemium.sql -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/README.md -------------------------------------------------------------------------------- /Ranking Most Active Guests.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Ranking Most Active Guests.sql -------------------------------------------------------------------------------- /Salaries Differences.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Salaries Differences.sql -------------------------------------------------------------------------------- /Top 5 States With 5 Star Businesses.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Top 5 States With 5 Star Businesses.sql -------------------------------------------------------------------------------- /Top Cool Votes.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Top Cool Votes.sql -------------------------------------------------------------------------------- /Top Search Results.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Top Search Results.sql -------------------------------------------------------------------------------- /Valuable Departments.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denistanjingyu/StrataScratch/HEAD/Valuable Departments.sql --------------------------------------------------------------------------------