"INSERT INTO roles (character, movie_id, actor_id) VALUES ('Dr. Hasenbein', (SELECT id FROM movies WHERE (title = 'Praxis Dr. Hasenbein')), (SELECT id FROM actors WHERE ((firstname = 'Helge') AND (lastname = 'Schneider'))))"
(ssql->sql#f'(insert(intoroles)
(columnscharactermovie_idactor_id)
(values ("Dr. Hasenbein"
(select(columnsid)(frommovies)(where(= title"Praxis Dr. Hasenbein")))