Execute a Query by ID