1

I get this exception: <AST>:0:0: unexpected AST node: query right-hand operand of a binary operator was null <AST>:0:0: unexpected end of subtree right-hand operand of a binary operator was null

While running this HQL query

select p.nicenumber from thosenumbers p, thesenumbers w where p.datnumber - (select count(*) from thatnumbers b where b.thisnumber = '123' and b.coolnumber = w.coolnumber) > 0

Its a syntax issue since it runs perfectly in my database visualizer

T. Tom
  • 69
  • 1
  • 6

1 Answers1

0

i was overthinking it and the answer was simply where p.datnumber > (select count(*) from thatnumbers b where b.thisnumber = '123' and b.coolnumber = w.coolnumber)

T. Tom
  • 69
  • 1
  • 6