# print method doesn't change unexpectedly

    Code
      sql_build(semi_join(lf1, lf2))
    Message
      Joining, by = "x"
    Output
      <SQL SEMI JOIN>
      By:
        x-x
      X:
        <IDENT> df
      Y:
        <IDENT> df

# generated sql doesn't change unexpectedly

    Code
      semi_join(lf, lf)
    Message
      Joining, by = c("x", "y")
    Output
      <SQL>
      SELECT *
      FROM `df` AS `df_LHS`
      WHERE EXISTS (
        SELECT 1 FROM `df` AS `df_RHS`
        WHERE (`df_LHS`.`x` = `df_RHS`.`x` AND `df_LHS`.`y` = `df_RHS`.`y`)
      )

---

    Code
      anti_join(lf, lf)
    Message
      Joining, by = c("x", "y")
    Output
      <SQL>
      SELECT *
      FROM `df` AS `df_LHS`
      WHERE NOT EXISTS (
        SELECT 1 FROM `df` AS `df_RHS`
        WHERE (`df_LHS`.`x` = `df_RHS`.`x` AND `df_LHS`.`y` = `df_RHS`.`y`)
      )

