sql multiple output with JOIN

sql multiple output with JOIN
Krystian Budzisz
  • Rejestracja: dni
  • Ostatnio: dni
  • Postów: 1
0

Hello, i have a problem displaying the query result
I would like this inquiry:

Kopiuj
SELECT d.id,  d.name, d.birthDate,  l.pl_content,  l.en_content, l.variable FROM table1 d JOIN language l ON  l.element_id = d.id AND l.element_type = d.type ORDER BY d.birthDate DESC

The problem is, he gets the result of this query on two lines (img 1), but he needs them on one line (img2).

Now output:

https://imgur.com/wsSXPDD

i need:

https://imgur.com/lq5v8Mi

koszalek-opalek
  • Rejestracja: dni
  • Ostatnio: dni
0

Why English?

abrakadaber
  • Rejestracja: dni
  • Ostatnio: dni
  • Postów: 6610
0

google + crosstab or google + pivot

Zarejestruj się i dołącz do największej społeczności programistów w Polsce.

Otrzymaj wsparcie, dziel się wiedzą i rozwijaj swoje umiejętności z najlepszymi.