SQL Periksa apakah tanggal antara 2 tanggal
SELECT startDate, endDate
FROM YourTable
WHERE '2012-10-25' between startDate and endDate
Wild Wolf
SELECT startDate, endDate
FROM YourTable
WHERE '2012-10-25' between startDate and endDate