The forth attempt of getting the sql model right...