I have an entity which I would like to create a query which will look into the entity and give me all of the orders which have not got a staff member assigned to them.
I have done the query the way I believe it needs to be, however a blank table is showing up when it is executed.
SELECT ORDER.*
FROM ORDER
WHERE (((staffNumber) = 'null'));
I am guessing that null is not accepted by sql. I just need it to pick up when the staffNumber box is blank, and display that row.
I have done the query the way I believe it needs to be, however a blank table is showing up when it is executed.
SELECT ORDER.*
FROM ORDER
WHERE (((staffNumber) = 'null'));
I am guessing that null is not accepted by sql. I just need it to pick up when the staffNumber box is blank, and display that row.