Can query database by ID.