I am looking for the SQL query for performing search by using a condition in which I have “Date” as a column name and datatype is “datetime” in the database. My search criteria is date range (“from” date and “to” date).