我有一个名为 title_runtime 的列,它以秒为单位,我想以小时为单位显示,并且只显示运行时间超过三个小时的列。这就是我所拥有的,减去转换:
select title_name, title_type, title_release_year, title_runtime 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
order by title_release_year, title_runtime_hrs