[eluser]Bigil Michael[/eluser]
upto this it is running
SELECT * FROM candidate_details WHERE constituency_id = '1' AND elect_year = '2011'
when i use fullcode
SELECT * FROM candidate_details WHERE constituency_id = '1' AND elect_year = '2011' AND candidate_votes = (SELECT MAX(candidate_votes) FROM candidate_details
it shows error like this
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1