I have a table with fields menuid,name,price,quantity & spiciness.
I want to update Quantity if the new menuid and spiciness are same.Otherwise I need to add a new row if the new spiciness is different.
Is there any simple way to achieve this?
I have a table with fields menuid,name,price,quantity & spiciness.
I want to update Quantity if the new menuid and spiciness are same.Otherwise I need to add a new row if the new spiciness is different.
Is there any simple way to achieve this?