Query between table columns

Hi, from the following table I would like to extract the rows where columnA is greater than columnB (green rows). How can I write the query in JavaScript?

Thanks
Claudio

  1. make a normal query
  2. cerate/define a new ARRAY
  3. create an if-else-comparisson between colA and colB
  4. collect/push all the numbers regarding to the result of your comparsson
1 Like