Created an adapter ID query