>> Now we want to generate a report of the availability. But for a
specific application both servers must be up at the same time. <<
Chapter 13 in SQL FOR SMARTIES. Also see Rick Snodgrass's book on
temporal SQL queries. But first thing, use timestamps or this is
going to be stinking mess.