“It wasn’t Hitler or Himmler who abducted me, beat me, and shot my family. It was the shoemaker, the milkman, the neighbor, who were given a uniform....” —Karl Stojka, Auschwitz survivor
The most modern way is to tokenize the database, or the two databases in case the tables belong to different databases, then you can pretrain a large language model. Fine tune it with the two tables, then apply prompt engineering to ask the ai model in natural language. No need to learn SQL!