Finally work out all the kinks in the sql-yavin function.