Scotland leapfrogged Denmark to secure their first World Cup qualification since 1998, thanks to a 4-2 win on Tuesday, while Austria were confirmed as Group H winners.