The question was to write a generic API to accept the SQL queries data like table name, select columns, ordering using a column name, applying aggregation to it and filtering the data with multiple "and" and "or" conditions. Accept the request from API and convert it into the SQL query in the backened and give the response back.
Anonymous
I gave the complete solution with satisfying all the conditions as required given in the document.
Check out your Company Bowl for anonymous work chats.