0
Well I have two tables the Tbinfo and the table Tbprograma
CREATE TABLE TBInfo(
Ip VARCHAR(20),
HostName VARCHAR(50),
Mascara VARCHAR(15),
Gataway VARCHAR(15),
Win VARCHAR(50),
Versao VARCHAR(8),
Hd VARCHAR(11),
Memoria VARCHAR(8),
);
CREATE TABLE TBProgramas(
Ip VARCHAR(20),
NomePrograma VARCHAR(255),
);
And I wish that when I wore a SELECT I’d look like this
Ip | HosteName | Programas
192.255.3258 | USER-PC | VisualStudio,Google Chrome
Use the GROUP BY clause with an aggregation function that concatenates the program names, type string_agg(Expression, delimiter) or the equivalent of your DBMS at the junction of your tables.
– anonimo