> There is nothing wrong with LATERALs, they just have no business being> used here. Sorry for the noise.
Ah. No trouble. In fact I'm glad you chimed in -- it motivated me tolearn about laterals so now I know some new SQL syntax!