verstand-in-gefahr.de
SQL-Monster - Verstand in Gefahr?!
Irgendwie kann man sich das Leben auch schwer machen und solche Abfragemonster bauen, nur um zu erfahren, welche Software aktuell einem bestimmten PC NICHT zugeordnet ist. (SELECT DISTINCT software.name as nm, software.id as soft FROM software, software_pc WHERE software.id=software_pc.sid and pcid=16 GROUP by nm, soft HAVING count(datum)=count(ende)) UNION DISTINCT (SELECT DISTINCT software.name as nm, software.id […]
marcus