Daily Archives: 11th June 2018


Exercise: Suppose the following tables are given in the form of arrays of objects: [crayon-5c19e28fd1f95457736878/] Translate the following SQL query using map, reduce, and filter: [crayon-5c19e28fd1f9d612114423/] You are not allowed to use loops, if statements, logical operators, or the ternary […]

Translating SQL Queries using Map-Reduce-Filter in JavaScript