Solved

Query statement

Posted on 2003-11-28
3
212 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
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
kennethxu earned 65 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
form submissions on a web page 2 143
library class in java 1 90
squirrelPlay java challenge 40 157
own marker interface 1 50
Scenario: Your operations manager has discovered an anomaly in your security system. The business will start to suffer within 15 minutes if it is a major IT incident. What should she do? We have 6 recommendations for managing major incidents (https:…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A simple description of email encryption using a secure portal service. This is one of the choices offered by The Email Laundry for email encryption. The other choices are pdf encryption which creates an encrypted pdf of your email and any attachmen…

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now