結果 : how to put date condition in sql