Where is a problem because I try count values using sql queries:
(SELECT quantity FROM db WHERE no='998') this is fine
but (('500') - (SELECT quantity FROM db WHERE no='998')) // incorrect syntax near -
But I need to use constant 500. Where is problem