Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMohammad Aslam
6,053 PointsCan someone please explain this? What will happen if I select B as the answer?
I dont understand how to specify a date range. It seems like we have to use the BETWEEN key word. Can someone explain what will happen if I select the B option with > and < operators?
2 Answers
Steven Parker
231,269 PointsYou forgot to quote the actual question, but BETWEEN
creates an inclusive range, which covers both endpoints and all the values bounded by them.
Combining ">" and "<" will create an exclusive range, covering the values from one end to the other, but not including the endpoints themselves.
Mohammad Aslam
6,053 PointsThanks