Good afternoon!
Well, I do not know if that's possible, but I wanted to know how I can get a one line record to stay on another line. I will illustrate. In the query below is coming out like this.
Projeto Operadora
Telles - Bronze - Climario Habilitação Cielo.
Telles - Bronze - Climario Habilitação Rede.
I wanted to know if I would be able to stay as follows.
ProjDesc Operadora
Telles - Bronze - Climario Habilitação Cielo e Habilitação Rede.
That is, join the network enable that is on the line below on the same line as the Sky enable. Below is the query used.
SELECT p.projdesc,
CONCAT('Faltando ', tt.tartitulo)
FROM projetos p
INNER JOIN tarefa tt ON p.projid = tt.projid
LEFT JOIN tipo c ON c.tipid = tt.tartipid
WHERE tt.tarstatus <> 9
AND p.projid = tt.projid
AND c.tipdescricao LIKE 'Habilita%'
AND tt.projid = p.projid
AND tt.modid = 181
AND tt.tartipid IN (867, 868, 869, 870,
871, 872, 873, 874,
875, 876, 877, 878,
879, 880, 881, 882,
883, 884, 885, 886,
887, 888, 889, 890,
891, 892, 893, 894,
895, 896, 897, 898,
899, 900, 901, 902,
903, 904, 905, 906,
907, 908, 909, 910,
911, 912, 913, 914,
915, 916, 917, 918,
919, 920, 921, 922,
923, 924, 925, 926,
927, 928, 929, 930,
931, 932, 933, 934,
1004, 1034)