wood burning stoves 2.0*
The moose likes Struts and the fly likes Recording sql query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Recording sql query" Watch "Recording sql query" New topic

Recording sql query

kirankumar dondapati

Joined: May 25, 2007
Posts: 4
i have id-primary key,jobNo-it can have repeated values,owner of job and start date fields in a table. i want to write query which will extract current owner of job ,jobno, with the date when the job was started for example
ID jobNo ownerofjob startdate
1 99 kiran 8-02-07
2 99 dondapati 09-03-07
3 99 sunil 12-03-07
4 1000 ask 14-03-07
i want result as 99,sunil and date 8-02-07(when the job started)
please help regarding this .
Ajit Kanada
Ranch Hand

Joined: Jan 23, 2001
Posts: 95
Why ar eu posting this in Struts forum?
Please use JDBC forums

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Recording sql query
Similar Threads
How to show results as zero if no record exists?
question reg. a stored procedure
Issue Whie Deploying EJB on JBoss AS 5.1.0...
regarding sql query
Refresh Problem