It all depends on the Operating-System, the WebHost is running.

A typical "rented WebHost" is running "LAMP" (Linux + Apache + MySQL + PHP or Python)

And a proper solution will do the (SQL-based) filtering on the side of the WebServer (to transfer less to the client) -
and that means for Linux-Hosts, that you will have to write such a "filtering request-handler" yourself -
in PHP or Python (which are then off-topic here).

Only if your host (or your hoster) offers a Win-OS, are you On-Topic - and could implement a serverside request-handler via VB6 (or VBScript) yourself.

Here is an example for starters: https://www.vbforums.com/showthread....g-of-http-RPCs

Olaf