This paper proposes the CRED-SQL framework to improve the accuracy of Text-to-SQL systems, which convert Natural Language Queries (NLQs) into SQL queries in large-scale databases. Existing Text-to-SQL systems suffer from schema association and semantic drift issues due to semantically similar properties in large-scale databases, leading to reduced accuracy. CRED-SQL addresses these issues by accurately identifying tables and columns related to NLQs through cluster-based, large-scale schema search and introducing an intermediate representation language, Execution Description Language (EDL), between NLQ and SQL. This two-step process—translating NLQs into EDLs and EDLs into SQL—levers the powerful inference capabilities of LLMs while reducing semantic drift. Experimental results on two large-scale cross-domain benchmarks, SpiderUnion and BirdUnion, demonstrate that CRED-SQL achieves state-of-the-art performance.