Teknologi, AI og forretning er i centrum på Computerworlds Cloud og AI Festival i København d. 18. og 19. september. Se hele programmet for den store konference om strategisk brug af Cloud og AI på: www.cloud-festival.dk
The reason of 3 "medarbejder" in the same record, is because they work together up to 3 persons at the time, so this report system is keepping track, if one employee make many big mistakes.
Tables are related from lonnummer.medarbejderID to Medarbejder.medarbejderid and Medarbejder.medarbejderid1 and Medarbejder.medarbejderid2
If I understand your data correctly you can make three sub selects each of which selects count where emp.id in the first table is = empid in the second table (col1, col2 or col3)
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.