i have a form and text box where user can enter amount on the basis of that amount tax rate fetch from mysql.the query below working well but when user input above 50000 , i want tax_rate should be calcuated according to 35%.. ...it givning me empty result,,, how to build query for this? i attache my table file jpg structure
SELECT test.id, test.year, test.status, test.start_income, test.end_income, test.tax_rate
FROM test
WHERE (((test.start_income)>5000) and ((test.end_income)>=5000));