If you want to run joins on text tables, the coreutils have a "join" tool. You already have it installed:

https://www.gnu.org/software/coreutils/manual/html_node/join...

And to improve the ergonomics, the vnlog wrappers are available to operate on field names, while retaining the internals of the core tools:

https://github.com/dkogan/vnlog/

While mentioning alternatives, xsv[1] can do joins on csv files instead of doing naive comma splitting. Also unlike gnu join, xsv does not require input to be sorted (afaik)

[1] https://github.com/BurntSushi/xsv