bearbeitet
This commit is contained in:
parent
47eb94aa4b
commit
7f5a751f64
@ -1,4 +0,0 @@
|
|||||||
SELECT COUNT(bohrungsnr),bezirk FROM bohrungen GROUP BY bezirk;
|
|
||||||
SELECT bohrungsnr,bezirk FROM bohrungen JOIN schichten USING(bohrungsnr) WHERE material = 'Sand' GROUP BY bohrungsnr,bezirk HAVING COUNT(material) > 1;
|
|
||||||
SELECT AVG(schichtdicke) FROM schichten WHERE bohrungsnr = 123;
|
|
||||||
SELECT bohrunternehmen.firmenname FROM bohrungen RIGHT OUTER JOIN bohrunternehmen ON bohrungen.bohrunternehmennr = bohrunternehmen.nr WHERE bohrungen.bohrungsnr IS NULL;
|
|
Loading…
Reference in New Issue
Block a user