delete session temporary from session as inner join temporary as on se

1
2
3
4
delete session, temporary from
session as s inner join temporary as t
on s.session=t.session
where s.session='чему-то';