Wenn beide in der Divisionsoperation int
sind das Ergebnis ist int
.
Versuchen Sie Folgendes:
select title_name, title_type, title_release_year, title_runtime / 3600.0 as title_runtime_hrs
from nf_titles
where title_release_year = '1999' or
title_release_year = '2000' or
title_release_year = '2001' and
title_runtime > 3*3600
order by title_release_year, title_runtime_hrs