SELECT t1.tid, t1.name, t2.field_raschet_zarplaty_value FROM taxonomy_term_field_data t1 LEFT OUTER JOIN `taxonomy_term__field_raschet_zarplaty` t2 ON t1.tid = t2.entity_id
------------------
SELECT t1.tid, t1.name, t2.field_raschet_zarplaty_value FROM taxonomy_term_field_data t1 INNER JOIN `taxonomy_term__field_raschet_zarplaty` t2 ON t1.tid = t2.entity_id
---------------------------
SELECT t2.name
FROM
`node__field_zakazchik` t1,
`taxonomy_term_field_data` t2
WHERE t1.entity_id = 6845 AND t2.revision_id = t1.field_zakazchik_target_id
FROM
`node__field_zakazchik` t1,
`taxonomy_term_field_data` t2
- пишем из каких таблиц будем вытаскивать и переименовываем их для краткости - начало всего тут.
print '';
$zapr3= "SELECT t2.name FROM `node__field_zakazchik` t1, `taxonomy_term_field_data` t2
WHERE t1.entity_id = $r2->nid AND t2.revision_id = t1.field_zakazchik_target_id";
print $mysqli->query($zapr3)->fetch_object()->name;