adjusted sql.yaml according to one_to_many feature
implemented feature one_to_many