I have an order table with the user_fk
column and invoice
column. Let's just say I want to get an order instance that is related to my user but with an empty invoice column. How do I do that with mysql?
perhaps this will illustrate it
"SELECT * FROM order WHERE user_fk = $user_fk AND invoice === false;"
edit: invoice column is an interger