Spiro's SQL programs