some more sql work