Having statement to compare sql<number> and number - Drizzle Team