Attached is the SQL query that I wrote to count the number on Mondays between two dates from a holiday table. It is not running I get '?' :
ExecuteSQL ( "
SELECT COUNT (* )
FROM HolidayList H,
WHERE H.~date between StartDate and EndDate and H.WeekDay IN ( 'Monday') ";