Daily Archives: 11th June 2018


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

Translating SQL Queries using Map-Reduce-Filter in JavaScript