Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

retrieving employees

 
Biswaranjan panda
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WAP in java :

In a company all the employees logged their entry time and exit time
(like 10:30entry 13:50exit....).You have to retrieve all those employee's names who were present in Company between 11:20 to 13:00.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64967
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where is your code? What problems are you having with it?
 
Biswaranjan panda
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no... actually this question asked in an interview..... so ij= just need how to approach it
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64967
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's your answer? What part are you unsure about? You need to ShowSomeEffort of your own.
 
James Boswell
Bartender
Posts: 1051
5
Chrome Eclipse IDE Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are you retrieving data from? I assume a database in which case are we talking about a SQL query here?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic