There is a table that consists of half foreign keys.
As in Laravel, through the DB facade, build a query so that full infa instead of keys is displayed. The sql query itself is simple, but I don’t know how to build it in laravel. Request example:
SELECT `vidacha knig`.`nomer zapisi`, `Chitatel`.`familia` FROM `Chitatel`,`vidacha knig` WHERE `Chitatel`.`Nomer chitatelya` = `vidacha knig`.`nomer chitatelya` How to do similar in laravel? Maybe there is a way to build a query in pure sql