0

I use a relation looking like :

Relations In Mysql.

NB:

clientss 1..N evenements_clients

evenements_types 1..N evenements_clients

Or, if I got it wrong again,

1 client can have many evenements_clients

1 evenements_types can have many evenements_clients

And I'm looking for a way to join evenements_types such as I get a tuple like

Considering EtCode equals EvType

ClNum, ClNom, EtCode1, EtCode2, EtCode3, EtCode4 ... (as many as there are)

and not vertically

ClNum, ClNom, EtCode1
ClNum, ClNom, EtCode2
ClNum, ClNom, EtCode3
ClNum, ClNom, EtCode4

I used Phpstorm to generate the image.

Partial Answer to the question in another question, as it is now within one cell.

Community
  • 1
  • 1
Pierre-Antoine Guillaume
  • 1,047
  • 1
  • 12
  • 28

0 Answers0