input: Write a function to convert a given SQL query into a Python program. The function should accept the SQL query as a string, execute it using `pyodbc`, and print the results.
  
  def convert_sql_to_python(sql_query):
      import datetime, pyodbc
      
      # Establish a connection to the database
      conn = pyodbc.connect("<connection details>")
      cursor = conn.cursor()
      
      # Execute the query
      cursor.execute(sql_query)
      results = cursor.fetchall()
      
      # Output the results
      for result in results:
          print(result)
  
  # Test cases
  convert_sql_to_python("SELECT * FROM orders WHERE YEAR(order_date) = 2020")
  convert_sql_to_python("SELECT customer_id, order_total FROM orders WHERE order_total > 1000")
  convert_sql_to_python("SELECT product_name, quantity FROM order_items WHERE quantity > 5")
  convert_sql_to_python("SELECT * FROM customers WHERE customer_city = 'New York'")
  convert_sql_to_python("SELECT * FROM employees WHERE hire_date > '2021-01-01'")
output: def convert_sql_to_python(sql_query):
      import datetime, pyodbc
      
      # Establish a connection to the database
      conn = pyodbc.connect("<connection details>")
      cursor = conn.cursor()
      
      # Execute the query
      cursor.execute(sql_query)
      results = cursor.fetchall()
      
      # Output the results
      for result in results:
          print(result)