Daily Archives: 11th June 2018


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

Translating SQL Queries using Map-Reduce-Filter in JavaScript