I dette særtema ser vi på, hvordan cloud og AI bliver fundamentet for virksomhedernes digitale forretning, og hvordan de nye muligheder for automatisering og forretningsværdi kan udnyttes uden at miste overblik, sikkerhed og menneskelig kontrol.
Så skal du ændre i subview fra UNION til UNION ALL og du skal lave dit udtræk med en GROUP BY a la
select id, type, emne, count(*) as OK1 from subview where ok=1 group by ok union all select id, type, emne, count(*) as OK0 from subview where ok=0 and not exists (select 1 from subview v where s.id=v.id and ok=1) group by ok
create view subview as select * from tabel1 union all select * from tabel2 union all select * from tabel3 go
select id, type, emne, ok, count(*) as antal from subview where ok=1 group by ok union all select id, type, emne, ok, count(*) from subview where ok=0 and not exists (select 1 from subview v where s.id=v.id and ok=1) group by ok
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.