JSON/q

A JSON-based data access specification

Arguments

[
  [
    0, 
    2, 
    4, 
    5, 
    6, 
    8, 
    9
  ], 
  [
    1, 
    3, 
    5, 
    7, 
    8
  ]
]

Query

{
  "union": [
    {
      "as": "a", 
      "from": "args[0]", 
      "select": "a"
    }, 
    {
      "as": "b", 
      "from": "args[1]", 
      "select": "b"
    }
  ]
}

Results

{}