Letters q and d : using joins