  | |  | Query Problem (SQL Statement) | Query Problem (SQL Statement) 2004-12-21 - By Christian Surya
Back Hi all, I want to create an SQL Statement but I need help. My table have DateBegin, DateEnding, ScoreBegin and ScoreEnd. I want to select a record which date between DateBegin and DateEnding and score between ScoreBegin and ScoreEnd. I use MySQL Database. I have tried "SELECT * FROM ScoreTable WHERE DateBegin >= <date> AND DateEnding <= <date> AND ScoreBegin >= <score> AND ScoreEnding <= <score>" there is no result using this statement. Can anyone help me?
Thanks in advance
Best Regards, Christian
-- MySQL Windows Mailing List For list archives: http://lists.mysql.com/win32 To unsubscribe: http://lists.mysql.com/win32?unsub=mysql@(protected)
Earn $52 per hosting referral at Lunarpages.
|
|
 |