charlieit3
IS-IT--Management
I have table called "INV_MSTR" and in it a column of data called "PART" and another called "PARENT". Each has thousands of rows. I need to find if specific PARENT items have the PART "Widget1".
So I wrote a query:
SELECT * FROM "INV_MSTR"
WHERE PART = 'Widget1'
and PARENT = ('aa09128', 'aa8643', 'ah9634')
...I stopped to keep this brief but the list of "PARENT" items in the above query is very long. But this query does not work (it errors out as if it is formatted incorrectly).
Can anyone help me?
Thank you!
Charlie
So I wrote a query:
SELECT * FROM "INV_MSTR"
WHERE PART = 'Widget1'
and PARENT = ('aa09128', 'aa8643', 'ah9634')
...I stopped to keep this brief but the list of "PARENT" items in the above query is very long. But this query does not work (it errors out as if it is formatted incorrectly).
Can anyone help me?
Thank you!
Charlie