Using Perv. SQL v8.6, I am trying to pull values from one table based on the query results from another table. I have tried the two SQL statements below but received errors (indicated for each statement).
SELECT * FROM "CUSTREL" where customernum in [select customernum from customer where accounttype='GLB']
>>>ERROR - invalid row count in subquery
SELECT * FROM "CUSTREL" where customernum in [select customernum from customer where accounttype='GLB']
>>>ERROR - where customernum in << ??? >>[select....
SELECT * FROM "CUSTREL" where customernum in [select customernum from customer where accounttype='GLB']
>>>ERROR - invalid row count in subquery
SELECT * FROM "CUSTREL" where customernum in [select customernum from customer where accounttype='GLB']
>>>ERROR - where customernum in << ??? >>[select....