├── 3 or more consecutive empty seats ├── Amazon music and upgraded to prime membership within the first 30 days of signing up ├── An tricky SQL query to find period of date ├── Cities where COVID cases are increasing continuously ├── Count no of first visited customer and repeated customer over order date ├── Count no of total visit and most visited floor by person ├── Customer retention and churn analysis ├── Data Analyst Take Home Assignment by A Startup ├── Derive Point Table For ICC Tournamen ├── Find the missing quarter ├── Horizontal Sorting ├── Messages exchanged between two person ├── Product pairs most commonly purchased together ├── README.md ├── Solving Tricky SQL Queries ├── Students with same mark in physics and Chemistry ├── User purchase platform ├── cancellation rate of request with unbanned users by each date ├── count of company who have both two language users ├── find for each seller whether the brand of the second item (by date) whether they sold is their favorite brand ├── find the winner in each group ├── second most recent activity ├── total bill for employee based on billing period ├── trick to find the consecutive states start date to end date period └── write a query to find p_id,name,no of friends, sum of scores of person who have friends with total score greater than 100 /3 or more consecutive empty seats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/3 or more consecutive empty seats -------------------------------------------------------------------------------- /Amazon music and upgraded to prime membership within the first 30 days of signing up: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/Amazon music and upgraded to prime membership within the first 30 days of signing up -------------------------------------------------------------------------------- /An tricky SQL query to find period of date: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/An tricky SQL query to find period of date -------------------------------------------------------------------------------- /Cities where COVID cases are increasing continuously: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/Cities where COVID cases are increasing continuously -------------------------------------------------------------------------------- /Count no of first visited customer and repeated customer over order date: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/Count no of first visited customer and repeated customer over order date -------------------------------------------------------------------------------- /Count no of total visit and most visited floor by person: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/Count no of total visit and most visited floor by person -------------------------------------------------------------------------------- /Customer retention and churn analysis: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/Customer retention and churn analysis -------------------------------------------------------------------------------- /Data Analyst Take Home Assignment by A Startup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/Data Analyst Take Home Assignment by A Startup -------------------------------------------------------------------------------- /Derive Point Table For ICC Tournamen: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/Derive Point Table For ICC Tournamen -------------------------------------------------------------------------------- /Find the missing quarter: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/Find the missing quarter -------------------------------------------------------------------------------- /Horizontal Sorting: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/Horizontal Sorting -------------------------------------------------------------------------------- /Messages exchanged between two person: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/Messages exchanged between two person -------------------------------------------------------------------------------- /Product pairs most commonly purchased together: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/Product pairs most commonly purchased together -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/README.md -------------------------------------------------------------------------------- /Solving Tricky SQL Queries: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/Solving Tricky SQL Queries -------------------------------------------------------------------------------- /Students with same mark in physics and Chemistry: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/Students with same mark in physics and Chemistry -------------------------------------------------------------------------------- /User purchase platform: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/User purchase platform -------------------------------------------------------------------------------- /cancellation rate of request with unbanned users by each date: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/cancellation rate of request with unbanned users by each date -------------------------------------------------------------------------------- /count of company who have both two language users: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/count of company who have both two language users -------------------------------------------------------------------------------- /find for each seller whether the brand of the second item (by date) whether they sold is their favorite brand: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/find for each seller whether the brand of the second item (by date) whether they sold is their favorite brand -------------------------------------------------------------------------------- /find the winner in each group: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/find the winner in each group -------------------------------------------------------------------------------- /second most recent activity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/second most recent activity -------------------------------------------------------------------------------- /total bill for employee based on billing period: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/total bill for employee based on billing period -------------------------------------------------------------------------------- /trick to find the consecutive states start date to end date period: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/trick to find the consecutive states start date to end date period -------------------------------------------------------------------------------- /write a query to find p_id,name,no of friends, sum of scores of person who have friends with total score greater than 100: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ephemeral-Ahsan/Complex-SQL-Practice-for-Interview/HEAD/write a query to find p_id,name,no of friends, sum of scores of person who have friends with total score greater than 100 --------------------------------------------------------------------------------