How can I display my Microsoft SQL Server database into a flask table

Is there anyway to display a sql server database using pyodc and flask while using render template? If so can someone please help me by explaining and posting the code!


### Imported Libraries 
from flask import Flask, redirect, url_for, render_template
import pyodbc 

### Sql Server Connection
conn = pyodbc.connect('Driver={SQL Server};'

### Online Flask Server
app = Flask(__name__)
def home():
    cursor = conn.cursor()
    cursor.execute("SELECT * FROM FRUITS")
    return render_template("index.html")

if (__name__ == '__main__'):


<!DOCTYPE html>
<html lang="en">
        <meta charset="UTF-8">
        <title>Python Flask Template</title>
        <meta name="viewport" content="width=device-width,initial-scale=1">
    </p>Hello world</p>


MySQL: How to Get the Length of Text In A Column

A Bed and Breakfast dApp run on Ethereum. Includes a token + schedule system (Solidity) and full front-end (React + ethers.js) built with Hardhat