Tina Huang

Data Science SQL Interview Question Walkthrough (real interview style) | SQL Sundays #7 | Tina Huang

Tina Huang

Summary

A recent discussion focuses on analyzing rental prices on Airbnb based on review qualifications. The conversation centers around a SQL query designed to extract the minimum, average, and maximum rental prices for properties categorized by the number of reviews they have received. The classification system includes categories such as "no reviews," "some reviews," and "many reviews," which are determined by the count of reviews each property has.

The speaker outlines the steps for constructing the SQL query, emphasizing the importance of using common table expressions (CTEs) for clarity and ease of understanding. They also touch on performance considerations, noting that both CTEs and subqueries yield similar results in terms of efficiency. The episode concludes with a successful execution of the query, demonstrating the ability to aggregate rental prices effectively based on the defined review qualifications.

Show Notes

Data Science SQL Interview Question Walkthrough (real interview style) | SQL Sundays #7

Hi friends! Welcome back to SQL Sundays! A weekly SQL data science interview questions and answers walkthrough.This is another data science SQL interview question and answer done from beginning to end in a real interview style.🔗Affiliates========================My SQL for data science interviews course (10 full interviews):https://365datascience.com/learn-sql-for-data-science-interviews/ 365 Data Science: https://365datascience.pxf.io/WD0za3 (link for 57% discount for their complete data science training)Check out StrataScratch for data science interview prep: https://stratascratch.com/?via=tina📲Socials ========================instagram: https://www.instagram.com/hellotinah/linkedin: https://www.linkedin.com/in/tinaw-h/ discord: https://discord.gg/5mMAtprshX🤯Study with Tina ========================Study with Tina channel:https://www.youtube.com/channel/UCI8JpGrDmtggrryhml8kFGwHow to make a studying scoreboard: https://www.youtube.com/watch?v=KAVw910mIrIScoreboard website: scoreboardswithtina.comlivestreaming google calendar:https://bit.ly/3wvPzHB🎥Other videos you might be interested in========================SQL Sundays Playlist: https://www.youtube.com/playlist?list=PLVD3APpfd1tuXrXBWAntLx4tNaONro5dAHow I learned SQL from Scratch in 11 Days to Pass my FANNG SQL Interview: https://www.youtube.com/watch?v=vaD3ZFFNwhMHow I consistently study with a full-time job:https://www.youtube.com/watch?v=INymz5VwLmkHow I would learn to code (if I could start over): https://www.youtube.com/watch?v=MHPGeQD8TvI&t=84s🐈‍⬛🐈‍⬛About me ========================Hi, my name is Tina and I'm a data scientist at a FAANG company. I was pre-med studying pharmacology at the University of Toronto until I finally accepted that I would make a terrible doctor. I didn't know what to do with myself so I worked for a year as a research assistant for a bioinformatics lab where I learned how to code and became interested in data science. I then did a masters in computer science (MCIT) at the University of Pennsylvania before ending up at my current job in tech :) 📧Contact========================youtube: youtube comments are by far the best way to get a response from me! linkedin: https://www.linkedin.com/in/tinaw-h/ email for business inquiries only: [email protected] ========================Some links are affiliate links and I may receive a small portion of the sales price at no cost to you. I really appreciate your support in helping improve this channel! :)Music Credit:TheFatRat & Laura Brehm - We'll Meet Againhttps://www.youtube.com/watch?v=hJqYc62NCKo

Follow this podcast to get Tina Huang’s insights in audio format, perfect for learning on the go. Tina Huang on YouTube: https://www.youtube.com/@TinaHuang1Disclaimer: This podcast is an independent audio adaptation of content originally created by Tina Huang. It was made by a viewer who values her insights and aims to make them more accessible for audio-first learners. This is not an official production of Tina Huang, and it is not affiliated with or endorsed by her. All rights to the original video content remain with Tina Huang.

--------------- Keywords: ai learning, tech career, coding tutorials, tina huang, tech insights, coding tips Learn more about your ad choices. Visit megaphone.fm/adchoices

More from Tina Huang

Dec 6, 2026

🐙 Lunch & Learn: Let’s Create AI Videos! 🤖 Sign up here to get accompanying workbooks, summaries, and notifs for future lunch & learns: https://www.lonelyoctopus.com/email-signup ✉️ NEWSLETTER: https://tinahuang.substack.com/ It's about learning, coding, and generally how to get your sh*t together c: 🐙 Lonely Octopus: https://www.lonelyoctopus.com/ Check it out if you're interested in learning AI & data skill, then applying them to real freelance projects! 🔗Affiliates ======================== My SQL for data science interviews course (10 full interviews): https://365datascience.com/learn-sql-for-data-science-interviews/ https://365datascience.pxf.io/WD0za3 (link for 57% discount for their complete data science training) Check out StrataScratch for data science interview prep: https://stratascratch.com/?via=tina 🎥 My filming setup ======================== 📷 camera: https://amzn.to/3LHbi7N 🎤 mic: https://amzn.to/3LqoFJb 🔭 tripod: https://amzn.to/3DkjGHe 💡 lights: https://amzn.to/3LmOhqk 📲Socials ======================== instagram: https://www.instagram.com/hellotinah/ linkedin: https://www.linkedin.com/in/tinaw-h/ discord: https://discord.gg/5mMAtprshX 🤯Study with Tina ======================== Study with Tina channel: https://www.youtube.com/channel/UCI8JpGrDmtggrryhml8kFGw How to make a studying scoreboard: https://www.youtube.com/watch?v=KAVw910mIrI Scoreboard website: scoreboardswithtina.com livestreaming google calendar: https://bit.ly/3wvPzHB 🎥Other videos you might be interested in ======================== How I consistently study with a full time job: https://www.youtube.com/watch?v=INymz5VwLmk How I would learn to code (if I could start over): https://www.youtube.com/watch?v=MHPGeQD8TvI&t=84s 🐈‍⬛🐈‍⬛About me ======================== Hi, my name is Tina and I'm an ex-Meta data scientist turned internet person! 📧Contact ======================== youtube: youtube comments are by far the best way to get a response from me! linkedin: https://www.linkedin.com/in/tinaw-h/ email for business inquiries only: [email protected] ======================== Some links are affiliate links and I may receive a small portion of sales price at no cost to you. I really appreciate your support in helping improve this channel! :) Follow this podcast to get Tina Huang’s insights in audio format, perfect for learning on the go. Tina Huang on YouTube: https://www.youtube.com/@TinaHuang1 Disclaimer: This podcast is an independent audio adaptation of content originally created by Tina Huang. It was made by a viewer who values her insights and aims to make them more accessible for audio-first learners. This is not an official production of Tina Huang, and it is not affiliated with or endorsed by her. All rights to the original video content remain with Tina Huang. If you represent Tina and would like to discuss this project, please don’t hesitate to get in touch. ---------------------------

Dec 6, 2026

How I Found My Perfect Career (advice for indecisive people and career changers)

Dec 6, 2026

How I got Software Engineering and Data Science Internships | Computer Science Job Search Part 1 I got Amazon and Goldman Sachs internships for software engineering and data science. This is part 1 of my internship and job search experience while attending MCIT at University of Pennsylvania (UPenn). I had no experience and no computer science undergrad. Check out part 2 for my full time job search and how I became a data scientist: https://www.youtube.com/watch?v=-zQ-Pf491bQ 00:00 Intro 00:29 Start of School 01:02 Concentrate on School 02:09 Think about Internships 02:56 Apply for Internships 03:22 Capital One and Goldman Sachs 07:03 Blackstone 07:50 Offer #1 08:07 Amazon 09:18 Offer #2 Feel free to email me about anything: [email protected] Music credits: Song: Drops of H2O ( The Filtered Water Treatment ) Artist: J.Lang Source: http://dig.ccmixter.org/files/djlang59/37792 Song: Happy rock Source: bensound.com Song: A new beginning Source: bensound.com Follow this podcast to get Tina Huang’s insights in audio format, perfect for learning on the go. Tina Huang on YouTube: https://www.youtube.com/@TinaHuang1 Disclaimer: This podcast is an independent audio adaptation of content originally created by Tina Huang. It was made by a viewer who values her insights and aims to make them more accessible for audio-first learners. This is not an official production of Tina Huang, and it is not affiliated with or endorsed by her. All rights to the original video content remain with Tina Huang. If you represent Tina and would like to discuss this project, please don’t hesitate to get in touch. ----------------------

Dec 6, 2026

How to self study technical things

Dec 6, 2026

My UPenn MCIT Experience I just graduated - yay! In this video, I talk about my on campus Masters in Computer and Information Technology (MCIT) experience at the University of Pennsylvania (UPenn). I go into details about the classes, internships, full-time jobs, and admissions. Please feel free to reach out to me for more information and/or feedback! Follow this podcast to get Tina Huang’s insights in audio format, perfect for learning on the go. Tina Huang on YouTube: https://www.youtube.com/@TinaHuang1 Disclaimer: This podcast is an independent audio adaptation of content originally created by Tina Huang. It was made by a viewer who values her insights and aims to make them more accessible for audio-first learners. This is not an official production of Tina Huang, and it is not affiliated with or endorsed by her. All rights to the original video content remain with Tina Huang. If you represent Tina and would like to discuss this project, please don’t hesitate to get in touch. -----------------------

See all episodes →