Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ereh11/datelemur-sql-interview-questions
My solutions for #Datalemur SQL Interview Questions
https://github.com/ereh11/datelemur-sql-interview-questions
data-analysis datalemur exploratory-data-analysis postgresql sql-query
Last synced: 25 days ago
JSON representation
My solutions for #Datalemur SQL Interview Questions
- Host: GitHub
- URL: https://github.com/ereh11/datelemur-sql-interview-questions
- Owner: Ereh11
- License: other
- Created: 2022-10-27T01:04:54.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-14T05:48:29.000Z (11 months ago)
- Last Synced: 2024-02-14T06:30:57.902Z (11 months ago)
- Topics: data-analysis, datalemur, exploratory-data-analysis, postgresql, sql-query
- Homepage:
- Size: 288 KB
- Stars: 11
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![Project Logo](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/Resources/datalemurcover.jpg)
---
Solutions for SQL Challenges hosted on DataLemur
## 🔎Overview
This repository contains my solutions for the SQL challenges posted on [DataLemur](https://datalemur.com/sql-interview-questions) website. The solution queries are executed on the integrated PostgreSQL environment on the same website.
## 🎯Content
The repository directory structure is as follows:
**DataLemur-SQL-Challenges:**
This directory contains the solution PostgreSQL scripts for the challenges mentioned in the **Solution Scripts** table.
In the below table, the columns indicate the following attributes related to the challenge:
- **ID :** Identity column for individual challenge
- **Challenge :** Link to the SQL challenge hosted on [DataLemur](https://datalemur.com/sql-interview-questions)
- **Solution Script :** Link to the solution SQL script hosted in this repository#### Difficulty Level: Easy
| ID | Challenge | Solution Script |
|:------:|------------|:---------:|
| 01 | [Cities With Completed Trades](https://datalemur.com/questions/completed-trades) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Cities%20With%20Completed%20Trades.sql)
| 02 | [Page With No Likes](https://datalemur.com/questions/sql-page-with-no-likes) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Page%20With%20No%20Likes.sql)
| 03 | [Laptop vs Mobile Viewership](https://datalemur.com/questions/laptop-mobile-viewership) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Laptop%20vs.%20Mobile%20Viewership.sql)
| 04 | [Teams Power Users](https://datalemur.com/questions/teams-power-users) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Teams%20Power%20Users.sql)
| 05 | [Highest Number of Products](https://datalemur.com/questions/sql-highest-products) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Highest%20Number%20of%20Products.sql)
| 06 | [Histogram of Tweets](https://datalemur.com/questions/sql-histogram-tweets) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Histogram%20of%20Tweets.sql)
| 07 | [Spare Server Capacity](https://datalemur.com/questions/sql-spare-server-capacity) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Spare%20Server%20Capacity.sql)
| 08 | [Duplicate Job Listings](https://datalemur.com/questions/duplicate-job-listings) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Duplicate%20Job%20Listings.sql)
| 09 | [Average Post Hiatus (Part 1)](https://datalemur.com/questions/sql-average-post-hiatus-1) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Average%20Post%20Hiatus%20(Part%201).sql)
| 10 | [App Clickthrough Rate (CTR)](https://datalemur.com/questions/sql-app-ctr) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/App%20Click-through%20Rate%20(CTR).sql)
| 11 | [LinkedIn Power Creators (Part 1)](https://datalemur.com/questions/linkedin-power-creators) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/LinkedIn%20Power%20Creators%20(Part%201).sql)
| 12 | [Data Science Skills](https://datalemur.com/questions/matching-skills) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Data%20Science%20Skills.sql)
| 13 | [Final Account Balance](https://datalemur.com/questions/final-account-balance) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Final%20Account%20Balance.sql)
| 14 | [Average Review Ratings](https://datalemur.com/questions/sql-avg-review-ratings) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Average%20Review%20Ratings.sql)
| 15 | [Unfinished Parts](https://datalemur.com/questions/tesla-unfinished-parts) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Unfinished%20Parts.sql)
| 16 | [Ad Campaign ROAS](https://datalemur.com/questions/ad-campaign-roas) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Ad%20Campaign%20ROAS.sql)
| 17 | [Second Day Confirmation](https://datalemur.com/questions/second-day-confirmation) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Second%20Day%20Confirmation.sql)
| 18 | [Apple Pay Volume](https://datalemur.com/questions/apple-pay-volume) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Apple%20Pay%20Volume.sql)
| 19 | [Average Deal Size (Part 1)](https://datalemur.com/questions/sql-average-deal-size) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Average%20Deal%20Size%20(Part%201).sql)
| 20 | [Top Rated Businesses](https://datalemur.com/questions/sql-top-businesses) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Top%20Rated%20Businesses.sql)
| 21 | [Patient Support Analysis (Part 1)](https://datalemur.com/questions/frequent-callers) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Patient%20Support%20Analysis%20(Part%201).sql)
| 22 | [Pharmacy Analytics (Part 2)](https://datalemur.com/questions/non-profitable-drugs) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Pharmacy%20Analytics%20(Part%202).sql)
| 23 | [Pharmacy Analytics (Part 3)](https://datalemur.com/questions/total-drugs-sales) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Pharmacy%20Analytics%20(Part%203).sql)
| 24 | [Cards Issued Difference](https://datalemur.com/questions/cards-issued-difference) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Cards%20Issued%20Difference.sql)
| 25 | [Compressed Mean](https://datalemur.com/questions/alibaba-compressed-mean) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Easy/Compressed%20Mean.sql)#### Difficulty Level: Medium
| ID | Challenge | Solution Script |
|:------:|------------|:---------:|
| 01 | [User's Third Transaction](https://datalemur.com/questions/sql-third-transaction) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Medium/User's%20Third%20Transaction.sql)
| 02 | [Compensation Outliers](https://datalemur.com/questions/compensation-outliers) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Medium/Compensation%20Outliers.sql)
| 03 | [Sending vs. Opening Snaps](https://datalemur.com/questions/time-spent-snaps) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Medium/Sending%20vs.%20Opening%20Snaps.sql)
| 04 | [Tweets' Rolling Averages](https://datalemur.com/questions/rolling-average-tweets) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Medium/Tweets'%20Rolling%20Averages.sql)
| 05 | [Odd and Even Measurements](https://datalemur.com/questions/odd-even-measurements) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Medium/Odd%20and%20Even%20Measurements.sql)
| 06 | [Highest-Grossing Items](https://datalemur.com/questions/sql-highest-grossing) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Medium/Highest-Grossing%20Items.sql)
| 07 | [First Transaction](https://datalemur.com/questions/sql-first-transaction) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Medium/First%20Transaction.sql)
| 08 | [Top 5 Artists](https://datalemur.com/questions/top-fans-rank) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Medium/Top%205%20Artists.sql)
| 09 | [Signup Confirmation Rate](https://datalemur.com/questions/signup-confirmation-rate) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Medium/Signup%20Activation%20Rate.sql)
| 10 | [Supercloud Customer](https://datalemur.com/questions/supercloud-customer) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Medium/Supercloud%20Customer.sql)
| 11 | [Histogram of Users and Purchases](https://datalemur.com/questions/histogram-users-purchases) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Medium/Histogram%20of%20Users%20and%20Purchases.sql)
| 12 | [Card Launch Success](https://datalemur.com/questions/card-launch-success) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Medium/Card%20Launch%20Success.sql)
| 13 | [Compressed Mode](https://datalemur.com/questions/alibaba-compressed-mode) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Medium/Compressed%20Mode.sql)
| 14 | [International Call Percentage](https://datalemur.com/questions/international-call-percentage) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Medium/International%20Call%20Percentage.sql)
| 15 | [Best-Selling Product](https://datalemur.com/questions/best-selling-products) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Medium/Best-Selling%20Product.sql)
| 16 | [NYC Area Code](https://datalemur.com/questions/nyc-area-code) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Medium/NYC%20Area%20Code.sql)#### Difficulty Level: Hard
| ID | Challenge | Solution Script |
|:------:|------------|:---------:|
| 01 | [Active User Retention](https://datalemur.com/questions/user-retention) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Hard/Active%20User%20Retention.sql)
| 02 | [Y-on-Y Growth Rate](https://datalemur.com/questions/yoy-growth-rate) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Hard/Y-on-Y%20Growth%20Rate.sql)
| 03 | [Advertiser Status](https://datalemur.com/questions/updated-status) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Hard/Advertiser%20Status.sql)
| 04 | [Median Google Search Frequency](https://datalemur.com/questions/median-search-freq) | [Solution](https://github.com/Ereh11/DateLemur-SQL-Interview-Questions/blob/main/DataLemur-SQL-Challenges/Hard/Median%20Google%20Search%20Frequency.sql)