Ja genau. Alle Zeilen.
Das war genau das was ich dann auch gemacht habe :
SELECT sum( unix_timestamp( concat( a, b ) ) - unix_timestamp( concat( a, c ) ) ) /60
FROM (
SELECT date_format( sub_date, '%Y-%m-%d' ) AS a, DATE_FORMAT( `sub_time_end` , ' %H:%i:%s' ) AS b, DATE_FORMAT( `sub_time_start` , ' %H:%i:%s' ) AS c
FROM `cnt_subjects`
WHERE sub_date = '$date'
AND sub_zelle = '$zelle'
)
AS time :suspekt:
Danke Trotzdem!