Added and fixed some more with the SQL learner.