sql multiple output with JOIN

sql multiple output with JOIN
Krystian Budzisz
  • Rejestracja:około 4 lata
  • Ostatnio:około 4 lata
  • 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

edytowany 2x, ostatnio: Krystian Budzisz
koszalek-opalek
  • Rejestracja:około 9 lat
  • Ostatnio:ponad 2 lata
0

Why English?

abrakadaber
abrakadaber
  • Rejestracja:ponad 12 lat
  • Ostatnio:8 miesięcy
  • Postów:6610
0

google + crosstab or google + pivot


Chcesz pomocy - pokaż kod - abrakadabra źle działa z techniką.

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.