Skip to main content

Notice: Workspaces are undergoing maintenance and are temporarily unavailable.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • Brian Taylor
    Brian Taylor
    3,436 Points

    Your code challenge appears to have a broken Javascript file in it? (or at least in this instance of the virtual machine

    Posted January 26, 2023 6:57am by Brian Taylor
    Brian Taylor
    3,436 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    1 Answer

  • Geovani Mejia
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Geovani Mejia
    Front End Web Development Techdegree Student 7,940 Points

    Help With Reporting WITH SQL

    Posted September 30, 2022 2:26pm by Geovani Mejia
    .a{fill-rule:evenodd;}techdegree
    Geovani Mejia
    Front End Web Development Techdegree Student 7,940 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    1 Answer

  • Katie Martens
    Katie Martens
    1,962 Points

    Counting orders from yesterday from an ecommerce database

    Posted May 9, 2022 8:05pm by Katie Martens
    Katie Martens
    1,962 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    3 Answers

  • Alessandro Pappacena
    Alessandro Pappacena
    2,589 Points

    Wrong count calculation

    Posted May 23, 2021 10:31pm by Alessandro Pappacena
    Alessandro Pappacena
    2,589 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    1 Answer

  • Jason Nutt
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Jason Nutt
    Front End Web Development Techdegree Graduate 24,851 Points

    I am getting the answer expected the count to be 14....

    Posted October 30, 2020 6:49pm by Jason Nutt
    .a{fill-rule:evenodd;}techdegree seal-36
    Jason Nutt
    Front End Web Development Techdegree Graduate 24,851 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    2 Answers

  • Lyola Rowe
    Lyola Rowe
    3,806 Points

    Please help with this challenge

    Posted October 29, 2020 5:27am by Lyola Rowe
    Lyola Rowe
    3,806 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    1 Answer

  • Todd Hamblen
    Todd Hamblen
    4,523 Points

    What type system is this supposed to be ran on?

    Posted July 20, 2020 4:36pm by Todd Hamblen
    Todd Hamblen
    4,523 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    1 Answer

  • Matt Fuller
    Matt Fuller
    2,395 Points

    Is Order Count w/ Date Challenge Still Flawed?

    Posted July 3, 2020 5:53pm by Matt Fuller
    Matt Fuller
    2,395 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    1 Answer

  • Felix Belga
    Felix Belga
    4,828 Points

    I cannot see what is wrong with my code

    Posted May 16, 2019 6:55pm by Felix Belga
    Felix Belga
    4,828 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    3 Answers

  • dfeem
    dfeem
    4,660 Points

    Looking for help on this challenge?

    Posted February 17, 2019 12:19am by dfeem
    dfeem
    4,660 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    2 Answers

  • David Corrales
    David Corrales
    4,698 Points

    Wow, I keep getting stumped! This might not be for me! I'm trying hard though, this challenge is kicking my butt!

    Posted December 17, 2018 12:51am by David Corrales
    David Corrales
    4,698 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    1 Answer

  • Shain Jones
    Shain Jones
    1,315 Points

    Calculating Dates

    Posted October 26, 2018 6:10pm by Shain Jones
    Shain Jones
    1,315 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    2 Answers

  • Rose Mathurin
    Rose Mathurin
    2,882 Points

    What am i doing wrong?

    Posted October 20, 2018 8:02am by Rose Mathurin
    Rose Mathurin
    2,882 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    1 Answer

  • Fairooz Adams
    Fairooz Adams
    2,704 Points

    What to do here?

    Posted October 14, 2018 8:07pm by Fairooz Adams
    Fairooz Adams
    2,704 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    2 Answers

  • Karen Shumate
    Karen Shumate
    13,579 Points

    Count the total number of orders that were ordered yesterday and have the status of 'shipped'. Alias it to ordered_yeste

    Posted September 30, 2018 8:21pm by Karen Shumate
    Karen Shumate
    13,579 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    1 Answer

  • Courage Tafadzwa Chesa
    Courage Tafadzwa Chesa
    5,308 Points

    Does this code work lol im now stuck

    Posted September 17, 2018 1:29pm by Courage Tafadzwa Chesa
    Courage Tafadzwa Chesa
    5,308 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    1 Answer

  • Gurdeep singh
    Gurdeep singh
    1,522 Points

    SELECT COUNT(*) AS "ordered_yesterday_and_shipped" FROM orders WHERE status = "shipped" AND ordered_on = DATE("now", -1)

    Posted August 30, 2018 3:29am by Gurdeep singh
    Gurdeep singh
    1,522 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    2 Answers

  • Felix Bynum
    Felix Bynum
    1,129 Points

    Issues with dates, particularly "now"

    Posted July 6, 2018 6:53pm by Felix Bynum
    Felix Bynum
    1,129 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    1 Answer

  • Ali Ahmadian
    Ali Ahmadian
    11,474 Points

    what im doing wrong?please Help!

    Posted May 22, 2018 8:56pm by Ali Ahmadian
    Ali Ahmadian
    11,474 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    1 Answer

  • Stevan Lay
    Stevan Lay
    8,306 Points

    What is the correct syntax here?

    Posted May 21, 2018 1:42am by Stevan Lay
    Stevan Lay
    8,306 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    1 Answer

  • Terri Valentine
    Terri Valentine
    23,034 Points

    SELECT COUNT(*) AS shipped_yesterday FROM orders WHERE status = "shipped" AND DATE("now", "-1 day")

    Posted May 20, 2018 12:40am by Terri Valentine
    Terri Valentine
    23,034 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    1 Answer

  • ABRAHAM NYONI
    ABRAHAM NYONI
    9,692 Points

    Can someone help me on this challenge on SQL,CALCULATING DATES.

    Posted May 10, 2018 10:03am by ABRAHAM NYONI
    ABRAHAM NYONI
    9,692 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    8 Answers

  • Dean Wiseman
    Dean Wiseman
    20,901 Points

    Question needs to be re-worded.

    Posted June 16, 2016 8:50pm by Dean Wiseman
    Dean Wiseman
    20,901 Points
    • Databases
    • Reporting with SQL
    • Date and Time Functions
    • Calculating Dates

    2 Answers

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

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord