db.quoteRelationName(new RelationName(null, "table")));
}
public void testNoLimit() {
ConnectedDB db = new DummyDB();
Relation r = Relation.createSimpleRelation(db, new Attribute[]{foo});
assertEquals("SELECT DISTINCT \"table\".\"foo\" FROM \"table\"",
new SelectStatementBuilder(r).getSQLStatement());
}