
sir i am using one query as- String query ="SELECT(firstname +" "+ middlename +" "+ last_name) as Name,city,state FROM user"; but here its showing one error as ';' expected.....my query is correct but why its showing error....??????

Your query is not correct. Actually, what do you want to retrieve from the database with your query.Please clarify this.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.