Convertion to Ecto query from sql

from a in "a",
  select: [:name, :email, :nickname, :lastname, :firstname, :phone],
  inner_join: b in "b", on: a.user_id = b.id and a.s_id = 2,
  left_join: c in "c", on: c.s_id = 1 and c.round_id = 2 and a.id = c.user_id,
  where: is_nil(c.id)