Answer the question
In order to leave comments, you need to log in
How to make a request for a non-standard selection of data from 3 tables?
How to select data from tables to get something like in the picture.
Answer the question
In order to leave comments, you need to log in
At the database level, such gluing can be done only if it is known in advance which warehouses to look for (To do this, a sequential JOIN of the same table with different sklad_id is done), or if the product for which such a selection is built is known in advance (select for all warehouses by product id, then PIVOT selections).
For a spherical horse in a vacuum, in my opinion, only pandemonium at the application level is suitable.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question