How many years into the war did Seongjong die?
return the  war ;return Seongjong dies ;return years of #1 ;return year of #2 ;return the  lowest of #3 ;return the  difference of #4 and  #5
['select', 'select', 'project', 'project', 'aggregate', 'arithmetic']