Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Query statement

Posted on 2003-11-28
3
Medium Priority
?
226 Views
Last Modified: 2010-04-01
.. i have a query statement like this:
String query2="Select users.username,userskills.username from users,userskills where users.username=userskills.username and  users.username='"+vol.getUsername()+"'";


rs3=stmt2.executeQuery(query2);


My problem is i try to see output :
<%
if(rs3.next()){
while(rs3.next()){
%>
Skill:<%=rs3.getString("users.skill")%>
}
}%>

but i couldn't see , di d i do something?

Thanks
0
Comment
Question by:Jasbir21
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
kennethxu earned 260 total points
ID: 9841319
I think it should be select users.skill, ....
let me know if you have further enquires.
0
 

Author Comment

by:Jasbir21
ID: 9841367
it works, thank you so much,

thanks and God bless
0
 
LVL 14

Expert Comment

by:kennethxu
ID: 9841454
i'm afraid that I'm getting points too easy :-)
let me know if you have further enquires.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question