How to run local SQL server using Python?

System: Windows 11 with Python 3.11.9.

I’d like to learn SQL and use SSMS to connect to this SQL server. I have done some searching on the internet and that has not helped.

I know Python comes with an http server. Is there a way to make a quick and easy SQLite server in Python? My commands in SSMS will create the database and tables and do queries on said database.

EDIT: I don’t want to have to install a whole SQL server like Postgresql or Mysql.

Thank you!

Are you asking for: sqlite3 — DB-API 2.0 interface for SQLite databases — Python 3.13.0 documentation

import sqlite3
con = sqlite3.connect("tutorial.db")

You would need an actual SQL server.

Yes, I’m wondering if Python can run an actual server, like for SQLite, that SSMS could connect to.