IDLC Finance interview question

1. Explain the concept of object-oriented programming and its key principles. 2. Write a SQL query to retrieve the top 5 products by total revenue from a table named "sales" that has columns for product_id, quantity, and price. 3. Describe the differences between a relational database and a NoSQL database and provide an example use case for each. And some basic questions on Asp.Net Core.