assertEquals(ImmutableSet.of(employee), extract(query.getMetadata()));
}
@Test
public void SubQuery2() {
QEmployee employee2 = new QEmployee("employee2");
SQLQuery query = query().from(employee)
.where(Expressions.list(employee.id, employee.lastname)
.in(sq().from(employee2).list(employee2.id, employee2.lastname)));
assertEquals(ImmutableSet.of(employee, employee2), extract(query.getMetadata()));