J
J
Jamaludin Osmanov2018-04-13 18:16:21
MySQL
Jamaludin Osmanov, 2018-04-13 18:16:21

How to correctly form a query for obtaining values ​​from two tables?

Hello, is it possible with a MySQL query from two tables:

  1. 5ad0c96c835e9355429487.png
  2. 5ad0c9796628e284932828.png

Get table like:5ad0c98eefeea248130771.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lazy @BojackHorseman MySQL, 2018-04-13
Tag

if the list of field_id values ​​is unknown in advance, then it will not work out in any way.
unless on the client to select these values ​​​​and, based on their set, build a monstrous query with a bunch of cases

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question