WmZilla - Webmaster and Marketplace

The Next Generation Webmaster and Trade Forum

Error in date range query

ItwasLuck

New member

0

0%

Status

Offline

Posts

29

Likes

0

Rep

0

Bits

155

8

Months of Service

0%
Hello friends, I want to analyze the zodiac signs of the people in the database I have. For example, Aries consists of people born between March 21 and April 20. How can I query this? I tried to write it like this: "SELECT * FROM mebis.Alumni WHERE Alumni.birthdate BETWEEN '03-21' AND '04-20' but I am getting an error.
 

254

6,645

6,665

Top