Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A jdiscuss.com question

 
Gayatri Aryan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's the question # 28 from the very first mock exam -
Given an Employee bean that has a corresponding Employee table in the database. Form a query that selects all employees with grades not equal to 'B'.
The table has the following fields - EID, FIRSTNAME, LASTNAME, DEPT AND GRADE

Why is my answer wrong?
SELECT object(e) FROM
Employee e WHERE
e.Grade <> 'B'
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your answer looks right to me ...
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suppose it's somehow related to the problem discussed at http://www.jdiscuss.com/Enthuse/jsp/ViewPosts.jsp?forumid=31&topicid=61
 
Gayatri Aryan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Valentin! I'm relieved now...
I've my exam on the 8th...didn't want to go in with a doubt.
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Gayatri Aryan:
Thanks Valentin! I'm relieved now...
I've my exam on the 8th...didn't want to go in with a doubt.

I also have mine on May 17... Don't forget to share your exam experience here also... I read every single posts about the exam experience in the Certification Result forum... I feel I'm really eager to others' exam experience and try to get lessons from them...
 
Gayatri Aryan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Definitely I'll...that's the least I can do for Javaranch...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic