✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
    • Showing results for:
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice
    • Close
  • Wael Elsisi
    Wael Elsisi
    211 Points

    How to use Subqueries ?

    Posted on Nov 6, 2023 by Wael Elsisi
    Wael Elsisi
    211 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    1 Answer

  • Özgür Yildirim
    Özgür Yildirim
    4,088 Points

    Difference between UNION and UNION ALL for the second practice question?

    Posted on Jul 17, 2021 by Özgür Yildirim
    Özgür Yildirim
    4,088 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    0 Answers

  • jun cheng wong
    jun cheng wong
    17,021 Points

    Check answer for question 2

    Posted on Mar 2, 2021 by jun cheng wong
    jun cheng wong
    17,021 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    0 Answers

  • wc93
    wc93
    25,725 Points

    Having problem selecting code because the test workspaces are too close to browser edge

    Posted on Feb 6, 2021 by wc93
    wc93
    25,725 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    0 Answers

  • Philip Porwisch
    Philip Porwisch
    13,229 Points

    Query not returning correct total

    Posted on Jun 27, 2020 by Philip Porwisch
    Philip Porwisch
    13,229 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    1 Answer

  • fairest
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    fairest
    Full Stack JavaScript Techdegree Graduate 19,303 Points

    Is this a decent solution for challenge 2?

    Posted on Mar 27, 2020 by fairest
    .a{fill-rule:evenodd;}techdegree seal-36
    fairest
    Full Stack JavaScript Techdegree Graduate 19,303 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    2 Answers

  • Remi Vledder
    Remi Vledder
    14,144 Points

    Subquery 'loans challenge': Feedback on this solution

    Posted on Jul 29, 2019 by Remi Vledder
    Remi Vledder
    14,144 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    1 Answer

  • Sharina Jones
    PLUS
    Sharina Jones
    Courses Plus Student 18,771 Points

    Combining the results of subqueries

    Posted on Feb 20, 2019 by Sharina Jones
    Sharina Jones
    Courses Plus Student 18,771 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    1 Answer

  • Harris Handoko
    Harris Handoko
    3,932 Points

    Please critique my code for the North South Book Loan practice problem

    Posted on Feb 3, 2019 by Harris Handoko
    Harris Handoko
    3,932 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    4 Answers

  • D Elis
    D Elis
    13,571 Points

    Question about SQL - Review and Practice from Querying Relational Databases …

    Posted on Aug 9, 2018 by D Elis
    D Elis
    13,571 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    2 Answers

  • jlampstack
    jlampstack
    23,932 Points

    Is my solution correct?

    Posted on Jun 29, 2018 by jlampstack
    jlampstack
    23,932 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    2 Answers

  • Philip Schultz
    Philip Schultz
    11,437 Points

    Why does UNION ALL work in this case and not just UNION

    Posted on May 13, 2018 by Philip Schultz
    Philip Schultz
    11,437 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    2 Answers

  • Sean Flanagan
    Sean Flanagan
    33,236 Points

    Book count

    Posted on Apr 17, 2018 by Sean Flanagan
    Sean Flanagan
    33,236 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    1 Answer

  • Donnie Driskell
    Donnie Driskell
    2,243 Points

    Relational Data Bases PlayGround Challenge: books north and south

    Posted on Dec 28, 2017 by Donnie Driskell
    Donnie Driskell
    2,243 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    4 Answers

  • James Kruk
    James Kruk
    1,600 Points

    Is there a way to access solutions for the 'Review and Practice' challenges in the 'Launch SQL Playgrounds'?

    Posted on Oct 30, 2017 by James Kruk
    James Kruk
    1,600 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    2 Answers

  • drstrangequark
    drstrangequark
    8,273 Points

    Still having issues with Joins

    Posted on Oct 4, 2017 by drstrangequark
    drstrangequark
    8,273 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    1 Answer

  • drstrangequark
    drstrangequark
    8,273 Points

    I am SO CONFUSED about Subqueries

    Posted on Oct 3, 2017 by drstrangequark
    drstrangequark
    8,273 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    2 Answers

  • Danny Zhang
    Danny Zhang
    2,014 Points

    playground 'user loans'

    Posted on Aug 31, 2017 by Danny Zhang
    Danny Zhang
    2,014 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    1 Answer

  • Allan Oloo
    Allan Oloo
    8,054 Points

    Advanced subqueries

    Posted on Feb 14, 2017 by Allan Oloo
    Allan Oloo
    8,054 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    5 Answers

  • John Yzaguirre
    John Yzaguirre
    22,025 Points

    Subqueries Practice am I doing this right????

    Posted on Jan 1, 2017 by John Yzaguirre
    John Yzaguirre
    22,025 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    6 Answers

  • Yi Ho Wong
    Yi Ho Wong
    6,377 Points

    Review and Practice - User Loans

    Posted on Oct 26, 2016 by Yi Ho Wong
    Yi Ho Wong
    6,377 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    4 Answers

  • Lukas Dahlberg
    Lukas Dahlberg
    53,736 Points

    Review and Practice - Subqueries

    Posted on Sep 23, 2016 by Lukas Dahlberg
    Lukas Dahlberg
    53,736 Points
    • Databases
    • Querying Relational Databases
    • Subqueries
    • Review and Practice

    9 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.