input: Write a function to convert a given SQL query into a Python program that executes the query and prints the results. The function should take the SQL query as input and establish a connection to the database using pyodbc. The function should return the results of the query.
  assert execute_sql_query("SELECT * FROM orders WHERE YEAR(order_date) = 2020") == [('order1', '2020-01-01'), ('order2', '2020-02-01')]
  assert execute_sql_query("SELECT * FROM products WHERE price > 50") == [('productA', 55)]
  assert execute_sql_query("SELECT * FROM customers WHERE country = 'USA'") == [('customer1', 'USA'), ('customer2', 'USA')]
  assert execute_sql_query("SELECT * FROM orders WHERE YEAR(order_date) = 2019") == []
output: def execute_sql_query(query):
      import pyodbc
      conn = pyodbc.connect('DRIVER={SQL Server};SERVER=your_server;DATABASE=your_db;UID=your_username;PWD=your_password')
      cursor = conn.cursor()
      cursor.execute(query)
      results = cursor.fetchall()
      conn.close()
      return results