mam sobie trzy tabelki:
menu
Kod
+----+--------+---------------+-------+--------+
| id | type | siteName | isSsl | isAuth |
+----+--------+---------------+-------+--------+
| 1 | | news | 0 | 0 |
| 2 | | about | 0 | 0 |
+----+--------+---------------+-------+--------+
| id | type | siteName | isSsl | isAuth |
+----+--------+---------------+-------+--------+
| 1 | | news | 0 | 0 |
| 2 | | about | 0 | 0 |
+----+--------+---------------+-------+--------+
languages
Kod
+----+-------+-----------------+----------+
| id | lName | lDesc | lDefault |
+----+-------+-----------------+----------+
| 1 | pl | polska wersja | 1 |
| 2 | en | english version | 0 |
| 3 | de | deutsch version | 0 |
| 4 | ru | russian version | 0 |
+----+-------+-----------------+----------+
| id | lName | lDesc | lDefault |
+----+-------+-----------------+----------+
| 1 | pl | polska wersja | 1 |
| 2 | en | english version | 0 |
| 3 | de | deutsch version | 0 |
| 4 | ru | russian version | 0 |
+----+-------+-----------------+----------+
menuName
Kod
+----+------------------+-----------------------+
| id | site | realName |
+----+------------------+-----------------------+
| 1 | pl,news | Aktualności |
| 2 | en,news | Latest news |
| 3 | de,news | Latest news |
| 4 | ru,news | Latest news |
| 5 | pl,about | O firmie |
| 6 | en,about | About Us |
| 7 | de,about | About |
| 8 | ru,about | About |
+----+------------------+-----------------------+
| id | site | realName |
+----+------------------+-----------------------+
| 1 | pl,news | Aktualności |
| 2 | en,news | Latest news |
| 3 | de,news | Latest news |
| 4 | ru,news | Latest news |
| 5 | pl,about | O firmie |
| 6 | en,about | About Us |
| 7 | de,about | About |
| 8 | ru,about | About |
+----+------------------+-----------------------+
i teraz jak będzie wyglądało zapytanie, które wyrzuci mi na wyjście takie pola:
lName,
type,
siteName,
isSsl,
isAuth,
realName

Kombinowałem na różne sposoby niestety cały czas wychodzi inaczej niż bym chciał.
Pomożecie ?