I didn't look to see if this is a joke, but seriously, is SQL still a big thing in web dev these days? Feels like it isn't. GraphQL is a thing.
a Node.JS server might use SQL directly or call out to a GraphQL API, but I literally don't think it's possible to let client-side JavaScript (safely) call a SQL database server directly.