Database level providers and queries.