Your SQL is right and should return values you expect. So your problem is that the data is not set up like you think.'
To debug:
do you ACTUALLY have product WHERE products.STOCKCOD = '010030' ?
Check: SELECT * FROM products WHERE products.STOCKCOD = '010030'
If you get no values returned, you've found you're problem. Fix the data or Query.
IF you do find a record, CAREFULLY review the value returned by products.ACCOUNTNO
then
SELECT * FROM supplier WHERE ACCOUNTNO= <<RETURNED VALUE HERE
You will probably NOT return any records
You will need to figure out how the data in products.ACCOUNTNO differs from supplier.ACCOUNTNO
Some likely problems:
one table's data has different type: integer in table 1, varchar in table 2
ACCOUNTNO has leading or trailing spaces
ACCOUNTNO in one table contains quotes or single quotes.