Can Long-Context Language Models Subsume Retrieval, RAG, SQL, and More?