There are 2 tables:
The first table is 2 fields: id_param
, name_param
. Rows: 1 => param_1
, 2 => param_2
Second table 2 fields: id_param
, value_param
. Lines: 1 => 256, 2 => 586
How to build a query to the database to immediately get:
param_1 => 256 param_2 => 586
Is it possible to do this in one request?