Problem : I have a table which has three columns such as
item id ,transaction_date,Amount_sold.
I want to have a list of item with Amount sold which are sold today but if the same item was sold yesterday then it should not come in my list.
oracle
Problem : I have a table which has three columns such as
item id ,transaction_date,Amount_sold.
I want to have a list of item with Amount sold which are sold today but if the same item was sold yesterday then it should not come in my list.
Best Answer
Not exists will work here
EDIT based on OP's latest observations :