1
I have three tables:
ESCRITORIOS
id
nome
ESCRITORIOS_SEGMENTO
id_escritorio
id_segmento
SEGMENTOS
id
nome_segmento
What I need is to give a SELECT to list this information like this
BLAH SEGMENT:
clerk 1, office 2
BLIBLI SEGMENT
clerk 1, office 4
BLOBLOBLO SEGMENT
clerk 2, office 3
BLUBLU SEGMENT
office 3
I tried several ways, with LEFT JOIN, GROUP, but did not roll....