The option that is used to write SQL queries in various programming languages is object-relational mapping. Object-relational mapping (ORM) is a technique that maps objects in an object-oriented programming language (such as Java, Python, C#, etc.) to tables in a relational database (such as Oracle, MySQL, SQL Server, etc.). ORM allows users to write SQL queries in their preferred programming language without having to deal with the differences or complexities between the two paradigms. ORM also provides users with various benefits such as code reuse, abstraction, validation, etc. The other options are either not related or not effective for this purpose. For example, indexing is a technique that creates data structures that store the values of one or more columns of a table in a sorted order to speed up queries; Excelis a software application that allows users to organize and manipulate data in rows and columns; normalization is a process that organizes data into tables and columns to reduce redundancy and improve consistency. References: CompTIA DataSys+ Course Outline, Domain 1.0 Database Fundamentals, Objective 1.2 Given a scenario, execute database tasks using scripting and programming languages.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit