OCP Exam documentation

Dear all,
I'm not sure whether this question is supposed to be published here. Please correct me if I am wrong in this question. I was reading the Oracle OCP SQL exam guide, when I faced a wrong "question" and surprisingly an "answer".
Page 139 question number
6: You develop the following SQL statement containing a group expression. Which line in the following select statement, when removed from the statement will correct the error:
SELECT DEPTNO, AVG(SAL) FROM EMP GROUP BY EMPNO;
A.select deptno, avg(sal).
B.from EMP.
C. group by EMPNO
D. There are no errors in this statement, therfore no clauses should be removed.
What is intersting in this question is that the answer is explained descriptive.
(according to ORacle 9 SQL exam Guide the correct answer is C!
Do you think it's right?
First of all can some one tell me what the correct answer is? Since I'm preparing myself for the OCP exam I would want to share this with you guys. Or if someone would know where is the best place to publish things that concerning exam doc mistakes?
Thanks

this question is not valid. just forget it...
The line which generates the error is the line A.
SQL>  SELECT  DEPTNO, AVG(SAL)
FROM EMP
GROUP BY EMPNO;
SELECT  DEPTNO, AVG(SAL)
ERROR at line 1:ORA-00979: not a GROUP BY expressionBut the question is not "what does generate the error", but which line would "correct" the statement when removed.
In which case, there is no valid answer.
SQL> SELECT DEPTNO, AVG(SAL)
  2  FROM EMP;
SELECT DEPTNO, AVG(SAL)
ERROR at line 1:
ORA-00937: not a single-group group function
SQL> SELECT DEPTNO, AVG(SAL)
  2  GROUP BY EMPNO;
GROUP BY EMPNO
ERROR at line 2:
ORA-00923: FROM keyword not found where expected
SQL> FROM EMP
  2 GROUP BY EMPNO
FROM EMP
ERROR at line 1:
ORA-00900: invalid SQL statementHTH
Laurent

Similar Messages

  • OCP EXAM Application Developer Rel 2

    Hi to all.
    I just want some advice which version of Oracle is suited for study the OCP exam for ORACLE Application Developer Rel.2, because
    i think Oracle \Developer Version 8.0 is no
    longer in the market and it keeps on updating.
    most of the school/institution here in Dubai
    are still using Oracle 8 Version 8.0
    do you have any idea where to get that one also.
    Thanks

    The thing to do is migrate to forms 6i. This version gives you the best results for web deployment. you need to install the forms service on your server (nt or unix). and then move your fmx's to this server. you can learn more about this by reading the developer 6i documentation that is available on otn.
    we will have a module on migrating to the web as part of the online idevelop2001 seminars. (checkc at otn home page).

  • Oracle 9i OCA/OCP Exam

    Hi,
    I just want to know that is it compulsory to study in any prometric centre for appearing in all exams of 9i/10G? Someone told me that, i will not eligible to appear in exam, until and unless i am not student of any prometric centre. Is it right?
    I am sorry, i do'nt know; whether i should post this query here or not?
    Please guide me.
    Thanks & Regrds

    Sir, Thanks you so much. I checked the link provided by you and there is nothing mentioned like "a person must be a student of prometric / oracle authorized centre, for eligible in 9i oca/ocp exam". It means, if i prepare myself and study the oracle, i am eligible to appear in the exam (no need to be student of prometric / oracle authorized, bocz this condition is no where mentioned).
    Thanks & Regards

  • OCA/OCP exam details reg

    Dear sir,
    I am planning to appear for OCA/OCP 9i certification,if anyone can provide me with full details such as
    1> OCA/OCP exam paper code
    2> Exam fee for each OCA and OCP
    3> if i do not qualify then after how many month i can able to appear for the same
    4> How to register for this exam
    its an urgent kindly help me
    Regards
    Laxman

    user12044036 wrote:
    Dear sir,
    I am planning to appear for OCA/OCP 9i certification,if anyone can provide me with full details such as Full information is available on [http://www.oracle.com/education/certification]
    >
    1> OCA/OCP exam paper codeThe are about 60 different OCA and OCP certifications: Choose from [http://www.oracle.com/education/certification] - Certifications - View all Certifications and drill down.
    2> Exam fee for each OCA and OCPThere is no fee for a certification but there is a fee for the exams that are required for a cerification. Visit [http://www.oracle.com/education/certification] - Exams - List of exams and drill down on the exam.
    3> if i do not qualify then after how many month i can able to appear for the sameFrom memory generally 14 days - though for some exams that may be taken non proctored you cna retake immediately.
    4> How to register for this exam[http://www.oracle.com/education/certification] - Support - FAQs. (You should find links to Pearson VUE here).
    its an urgent kindly help me
    Regards
    Laxman

  • Ocp exam info

    I took ocp exam back in 2003. i lost the result of that exam
    where can I obtain the result of that exam

    try asking ocpexam_ww @ oracle dot com (translate to email address)

  • OCP Exam 1Z0-040: Installation Performance

    OCP People,
    I'm looking at topic areas for the OCP Exam 1Z0-040.
    I'm curious about this topic:
    "Installation Performance Enhancements"
    What should I know about it?
    Do many Oracle DBAs think that Oracle 8i,9i installation is too slow?
    Perhaps 10g installation is faster?
    When I see the term "Performance Enhancements", assuming I'm not reading a spam,
    I expect a discussion about speed.
    Perhaps there is more to it?
    Maybe aside from duration, the 10g install is less likely to error out
    or provide a better installation experience?
    This could actually be a broad topic. I'm not sure what parts of it
    the author of OCP Exam 1Z0-040 wants me to focus upon.
    Thoughts anyone?
    -Owen

    There are improvements with the OUI installation process. Can you list these? Do you know what is different between the 9i and 10g install screens? Have you looked at the New Features manual?

  • OCP Exam II

    i am planning to take 10g OCP Exam II, is there any change in exam patern or the same

    Once you have made the frist exam, you should know how the exam format is, you may expect something similar, but the most important issue here is not the exam itself but how prepared you are. My usual recommendations, setup a practical environment and practice each exam topic according to the study guide you will find on the certification site for this exam.
    For you to receive the OCP a course requirement form must be submitted, so I suggest you to first take the course then make the exam.
    ~ Madrid

  • OCP Exam

    Hi everyone,
    I want to write OCP exam and was looking forward to get details , if anyone can share.
    (Set of exams, Books to study etc)
    Any information will be appreciated.
    Thanks.
    Aarti

    check it here...
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=42
    http://www.braindumps.com/index.cfm?pageid=417&dumpid=138

  • IZo-045 Oracle Database 10g DBA New Features for Oracle8i OCPs exam

    I am preparing for IZO-045 Oracle Database 10g DBA New Features for Oracle8i OCPs exam, wanted to know in order to pass the exam,
    Is it enough to read the exam topics mentioned on the following webpage.
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_exam_id=1Z0_045
    I really apreciate if someone who already passed this test like to share his/her experience.
    Regards
    Muhammad Ali

    muhammadali wrote:
    I am preparing for IZO-045 Oracle Database 10g DBA New Features for Oracle8i OCPs exam, wanted to know in order to pass the exam,
    Is it enough to read the exam topics mentioned on the following webpage.
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_exam_id=1Z0_045
    I really apreciate if someone who already passed this test like to share his/her experience.
    Regards
    Muhammad AliOkay I've haven't done 1z0-045 ... but I at one point I was considering 1z0-050 so I'm willing to share my views on an upgrade exam and exams in general.
    Remember Oracle are trying to ensure that a DBA who was tested at 8i DBA OCP has nw
    It depends on your definition of read the topics. If you mean literally just read the topics then that will result in a failure. If you mean study research practice and fully understand the topics that should lead to a pass.
    Bear in mind that Oracle would expect a competent 8i DBA attending the 5 day training course Oracle Database 10g: New Features for Oracle8i DBAs [http://education.oracle.com/web_prod-plq-dad/plsql/show_desc.redirect?dc=D17389GC10&p_org_id=&lang=&source_call=] to be able pass the exam with perhaps 2 to 4 weeks further study, revision and practice.
    Interestingly this particular exam has a relatively high pass mark (73%) ... one implication of that is that it is prudent to be comfortable with all topics.
    Generally an upgrade exam will cover topics beyond that of the straight OCA/OCP exams. The questions will obviously be at OCP level.
    It is possilble the Sybex book Oracle 10g New Features for Administrators Study Guide (Certification Study Guide) ISBN-13: 978-0782143553 which although for 1z0-040 may have some relevance for some of your topics. If you choose to purchase it that is your choice. (It seems to have good amazon reviews ... though all of these books can contain errors, it may or may not be updated for 10gR2, and some Sybex Oracle books are sometimes OTT in some areas IMHO, but that wouldn't stop me using one).

  • Oracle ocp exams guide ?

    i am learning on purhcasing hotcerts.com $85 package for my ocp exams . anyone knows how good are ocp exams of hotcerts ? . please do let me know.

    According above line selftestsoftware is better than testking. in my experience.I have had come across many comments that selftestsoftware gives you more accademic question, and and below 10% question may come in the exam. Whereas, testking, gives around 90% of guarantee.
    Jaffar

  • OCP Exams ........

    Hi Guys,
    I am looking for a job....I want to write Oracle 9i DBA OCP exams to improve my chances of getting a job, i am going to graduate ...... I want your help in this regard. I want best books to write the OCP (oracle 9i)DBA professional level (4 exams) or Orace 8i (OCP Exams), tell me which certification should i take 8i or 9i. It seems 9i certification has Oracle univ course requirement (which is costly) Or should i have to take only Oracle 9i OCA Exam at this stage. Suggest me which way is better, what the industry is looking in oracle side jobs, which are rare & have better future. So that i can take that certification. I have very little experience as a DBA. Please suggest me which books, training software i have to purchase..... Waiting for your reply. Appreciate your reply in this regard.....
    Thanks,
    ram

    Hi Ram,
    Check the Oracle University link given in previous message for some free software for the exam.
    You can refer the links in this site for some more material.
    http://www.dbaclick.com/modules.php?op=modload&name=Web_Links&file=index&req=viewlink&cid=6
    And coming to books the following are the best for OCA 1st and 2nd exam:
    http://www.amazon.com/exec/obidos/tg/detail/-/0072195371/qid=/br=1-/ref=br_lf_b_//002-4163004-9440854?v=glance&s=books&n=4092
    http://www.amazon.com/exec/obidos/tg/detail/-/0072195401/qid=/br=1-/ref=br_lf_b_//002-4163004-9440854?v=glance&s=books&n=4092
    regards,
    Anupama

  • Do i need to register for OCP Exam or Can i direclty attend OCP Exams ?

    As i am very interested in taking the Oracle 10g Certification Program , I would like to know the procedure to attend the OCP exams .
    Here are my few queries.
    1)What is Oracle Registration ?
    2)Is it possible to attend OCP exams without being registered to ?
    3) Do i need to attend training center for OCP exams in order to attend exams ?
    I would be very grateful , if somebody answer my above queries.

    Sunny kichloo wrote:
    Things stated by you is already stated above by matthew in his thread.
    I just replied back to it.
    I admit i have to be little most descriptive than what i have written.
    Most important is that instead of mentioning something about nation like India you should directly talk to me in a technical way.
    There are time in this forum when such mistake happens but it should be solved technically.Nothing wrong in accepting critics of something you have done wrong.
    ( I have nothing against India, the problem occurs elsewhere as well).I saw that but better not start the discussion in that way :-)The problem is that when talking about unqualified 'OCP' or 'OCA' there is a big possibility of mixing up certification and exam entities.
    A certification is a certification and an exam is an exam (or perhaps a pseudo-exam like a course verification).
    In addition there is not just one 'OCP' certification ... there are many OCP certifications ... MySQL, Solaris, PL/SQL, Java although generally by default when omitted the context is for a DBA certification.
    It is also important to note typically exams can be taken in any order, however certifications will not be issued until prerequisites are met.
    ( Possible exception on some special cases : OCM exams and those involving Java written assigments where there may be some form of order).
    So when I come to the statement:
    As mentioned above for OCP you have to give OCA.
    I judge that to be incorrect.
    .... and I judge that because I have read it as "Before you give the OCP (1z0-043/053) exam you give the OCA exam (1z0-042/1z0-052) ... which is not true.
    However ... given the OP has mentioned he in on DBA track .. and if I read it as 'To gain the (DBA) OCP certification one must have the (DBA) OCA certification as a pre-requisite' there is no problem with the statement .... as the graphic in your earlier post shows.
    Without further analysis ... which may help my case or dig me into a whole on this occasion .... i had simply better apologise as I certainly did not appreciate full context when composing my answer ... I thought I had but I review I had not.
    In simple terms for original poster targeting 10g DBA exams .... best practice is to study and take 1z0-042 first and also be aware and plan how you will get your required DBA Training if you are looking to get OCP certification.

  • Can I write OCA/OCP exams on R12 as I already attended the training on11i

    Hi,
    I have completed the training on E-Business suite Essentials and General ledger program on 11i
    from oracle affiliated institute and I did not write any exam,
    Is it possible for me to write OCA or OCP exam on R12, with out attending the any training programs on R12.
    Thanks,

    Duplicate post -- Can I write OCA/OCP exams on R12 as I already attended the training on11i

  • Preparation for Oracle 10g OCA and OCP exams

    Hi all,
    I am studying for my first Oracle 10g OCA exam. Thus far, I have the Transcender exam prep software and book from Oracle Press for the OCA/OCP exams with Oracle 10g. With a test Oracle 10g database to practice on while I study, am I on the right path?
    Thanks

    Use the http://education.oracle.com OR http://otn.oracle.com as your portal - you'll see the Certification link on either one. From the Certification page you will be able to drill down to the objectives and requirements of the exam. I suggest you use that as a checklist, as the various books and sample exams have been known to include mistakes or miss items.
    In addition, you should be familiar with the first few chapters of the Oracle Concepts manual and also, preferably, the first few chapters of the DB Admin Guide - both available from http://tahiti.oracle.com
    A great motto while learning is "trust no one - verify everything"

  • I want to take OCP Exams can any one advice me

    Dear All
    Am a information systems programmer.....for more than 4 years now i want to change my career towards DBA profissional so i want to pursue OCP exams is possible? however i have not certified in Oracle exams......kindly please advise and suggest any
    my email [email protected]

    however i have not certified in Oracle exams......kindly please advise and suggest anyto become OCP first you need to complete OCA.. you have to follow the path
    read
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=143#1
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=50&p_org_id=1001&lang=US

Maybe you are looking for