F
F
Flopikpc2018-04-21 15:12:44
SQL
Flopikpc, 2018-04-21 15:12:44

SQL/ How to display opposite each other records from the database?

How to retrieve data from database. There is a table with the following columns product_id, language id, name. A selection should be made to match products with the same 'product_id' against each other. An example structure is shown in the image
5adb29c0ea24f662671719.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vitasikus, 2018-04-26
@vitasikus

Rollup is a non-standard operation for relational DBMSs.
Depends on your DBMS.
MS SQL has a PIVOT/UNPIVOT construct, but it's inconvenient to use.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question