Query question-1z0-001 exam

a question from 1z0-001
Examine the structure of the STUDENTS table:
STUDENT_ID NUMBER NOT NULL, Primary Key STUDENT_NAME VARCHAR2(30) COURSE_ID VARCHAR2(10) NOT NULL MARKS NUMBER START_DATE DATE FINISH_DATE DATE
You need to create a report of the 10 students who achieved the highest ranking in the course INT_SQL and who completed the course in the year 1999.
Which SQL statement accomplishes this task?
A. SELECT student_id, marks, ROWNUM "Rank"FROM students WHERE ROWNUM <= 10 AND finish_date BETWEEN '01-JAN-99' AND '31-DEC-99' AND course_id = 'INT_SQL'ORDER BY marks DESC;
D. SELECT student_id, marks, ROWNUM "Rank" FROM (SELECT student_id, marks FROM students WHERE finish_date BETWEEN '01-JAN-99' AND '31-DEC-99' AND course_id = 'INT_SQL' ORDER BY marks DESC)WHERE ROWNUM <= 10 ;
Answer: D
i try the two queries i don't see any difference between them..then why is the answer d ..
thank u
rajiv

i try the two queries i don't see any difference between them..then why is the answer d Of course answer is D. But, A and D gives definately different results.
Query A takes the first 10 records from the table, gives the results.
Query D takes the results from the marks desc order and choose 10 records from the row source.
Jaffar

Similar Messages

  • Need Study Guide for OCA exam 1Z0-001

    Please suggest me where can I get the study material and previous papers for 1Z0-001 exam.

    You mean these?
    http://www.oracle.com/pls/db102/homepage
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/toc.htm
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/toc.htm
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/toc.htm
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/toc.htm

  • OCP : Any hard-copy-proof of passing single exams(1Z0-001) & not entire OCP

    I am a Java/J2EE developer and want to add
    general RDBMS & SQL skills to my skill-set.
    So want to appear for the test
    1Z0-001 Intro to Oracle: SQL and PL/SQL
    Due to some career reasons
    I am planning to take only 1Z0-001 test for the present.
    I understand,I would be getting the certification as
    "Oracle PL/SQL and Oracle Forms Developer"
    only after I complete the other exams in the series.
    But I plan to give the rest of the tests later based
    on time and financial conditons.
    In the meanwhile, if I pass the
    1Z0-001 exam, I would like to show it as a part
    of my skill-set in my future career progression including future
    job interviews.
    Can someone please tell me, if I pass the
    1Z0-001 exam, WHETHER I WOULD BE GETTING ANY
    HARD-COPY / (Printable-Soft-Copy) PROOF OF HAVING
    CLEARED the 1Z0-001 exam which I can use for my future
    career progression.
    Thanks in advance....

    Yes you will get a printout from any test centre, will a seal of its autheticity. I had done my exams at a Prometric Testing Centre, and got the same.Did the tests sometime back in 2002 for OCP's.

  • Need help with 1z0-001 certification

    hi
    iam preparing for 1z0-001 exam..can anyone advice me on how to score more..
    thank u
    rajiv

    I still to this day believe that these Oracle certs are best done after some real world experience using Oracle products. Even if that means working entry level programming for a little while, before even doing Jr. DBA work. This is assuming you are a student.
    If you are a DBA now, just setup a test environment and go to town. Oracle Express Edtion is perfect for this. Oracle makes these tests difficult for a reason and that is to challenge you to ensure you know the subject matter in and out....it is also to maintain the integrity of the test.
    Just study frequently, but most importantly try examples your self to get a visual understanding of everything.
    Lee

  • Is 1z0-001 for 8i certification? Info needed!

    Hi
    is 1z0-001 exam is for 8i certification?
    i think iz0-001 or iz0-007 , either of them(along with 1z0-031) can be completed for
    9i certification.
    Am I right?
    Thanks in advance for ur help!

    Check this link and you'll find all the answers you need.
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=43
    Regards,
    Tony Garabedian

  • #1Z0-147 Exam question - Urgent!

    Dear All,
    I will take the 1Z0-147 exam tomorrow. It is my second time to take this exam. I felt the exam time(1.5 hours) is too tight to finish the 71 questions. I heard of only 66 of the 71 questions are marked ones. My question are: Should I answer all 71 items in 1.5 hours? Is there any way that I can know what are these items that will not be marked?
    Thanks in advance,
    Robert Song

    I thing there is noway to find out which questions are marked and which do not
    Best Regards
    Krystian Zieja / mob

  • Recommended review book for exam 1Z0-001/ 1Z0-007

    Hi,
    Im planning to take either exam 1Z0-001 or 1Z0-007, could you please give me some recommendation on what book I could use to prepare for the exam.
    Thank you.
    Regards,
    Patrick

    Search this forum for [1Z0-001|http://forums.oracle.com/forums/search.jspa?threadID=&q=1Z0-001&objID=f459&dateRange=all&numResults=30] and [1Z0-007|http://forums.oracle.com/forums/search.jspa?threadID=&q=1Z0-007&objID=f459&dateRange=all&numResults=30], you will find many threads that should be helpful.

  • Simple question about 1z0-052 exam

    Hello everyone,
    When I went to my local testing site to register exam, my Vue administrator told me that 1z0-052 exam is labeled as Oracle Database 11g: Administration Workshop I!
    So, the question is, is this exam that is needed to finish OCA certification?
    Since there is minor mismatch in name(VUE has workshop in a name of exam, while Oracle site does not, but the exam code is same - 1z0-052),so I would really like to be 100% sure that I'm registering for the right exam.
    Thanks in advance

    user9029782 wrote:
    Thank you bigdelboy for taking your time to answer me.
    I know for sql exam, but I'm more concerned about Administration 1 exam.
    Let me simplify my question, all those who registered at VUE for 1z0-052 did you registered for this exam:
    [http://www9.pearsonvue.com/Dispatcher?wsid=1265370295466&HasXSes=Y&wscid=107559719&webViewID=10015481&examCode=1Z0-052-ENU]
    Edited by: user9029782 on Feb 5, 2010 3:58 AM
    Edited by: user9029782 on Feb 5, 2010 3:59 AMThe link you gave is browser session dependent ...
    However to answer your question:-
    The link [http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_exam_id=1Z0_052] which is authorative
    Links the exam entitled: Oracle Database 11g: Administration I on 1 1-1 basis with code +1Z0-052+
    Given you have implied you have passed a relevant SQL exam, 1z0-052 is all that remains for you to complete requirements for 11g DBA OCA.

  • Oracle 1Z0-242 Exam Questions (PeopleSoft Application Developer II )

    Folks,
    Hello. I am working on 1Z0-242 exam. I have freely downloaded the exam questions for PeopleCode and Application Engine. But I cannot find any questions for Integration Tools.
    Do any folks know where to freely download 1Z0-242 exam questions for Integration Tools ? Or, do any folks have taken 1Z0-242 exam and have a copy of 1Z0-242 exam questions ? Please let me know.
    Thanks in advance.

    Hi,
    Did you get all the Q&A for this exam? Could you please share what you got for free?
    or you can tell me where to download from.
    Thanks,

  • Exams 1Z0-001 and 1Z0-007

    I wonder, can you be an Oracle 9i certified database associate if you have a combination of 1Z0-001 (oracle 8i Pl/SQL) and 1Z0-031? (9iDatabase fundamentals 1)

    dat doesnt make any difference,actually 1z0-007 is purely sql and 1z0-001 is sql+pl\sql;whereas 1z0-147 is purely pl\sql.
    so my suggestion is go for 007+147

  • Does 1Z0-001 fit the requirement of 11g DB OCP requirement (1Z0-051)?

    Dear Sir:
       Hi, I would like to ask 3 questions about the certification requirement of 11g DB OCP.
    Please advice me what do I have to do to prepare the OCP exam, thanks a lot in advance.
    Q1:
    Does 1Z0-001 fit the requirement of 11g DB OCP requirement (pass 1Z0-001 = pass 1Z0-051)?
    AFAIK, 11g DB OCP requires passing 3 exams: 1Z0-051 (SQL), 1Z0-052 (AW1), 1Z0-053 (AW2) and finishing a hand-on course at least.
    I have passed the 1Z0-001 (Introduction to SQL ans PL/SQL) many years ago.
    After searching the discussion in the community, I've found 2 relative:
    https://forums.oracle.com/thread/2526631  It said :"1Z0-001 will satisfy the SQL requirement."
    https://forums.oracle.com/thread/2467872 It said : "I can confirm that the 001 exam will fulfill the SQL exam requirement if it was passed before it retired."
    I was confused on that. Please help me to clear it.
    Do I have to prepare the exam 1Z0-051 since I have passed 1Z0-001 (an retired exam)?
    Q2:
    Please confirm that finishing the SSC (Self-Study Course) DOES NOT apply the "hand-on course requirement ".
    It still need to pay more money for an instructor-led (face-to-face) course, right?
    Q3:
    Can I just finish ONE course "Oracle 11g Database Administrator Workshop II" from an Oracle authorized education center to fit the " hand-on course requirement " ?
    Sorry I have to ask this because the budget consideration.
    Thank you very much!
    Steve C.

    Q1:
    Does 1Z0-001 fit the requirement of 11g DB OCP requirement (pass 1Z0-001 = pass 1Z0-051)?
    Q2:
    Please confirm that finishing the SSC (Self-Study Course) DOES NOT apply the "hand-on course requirement ".
    Q3:
    Can I just finish ONE course "Oracle 11g Database Administrator Workshop II" from an Oracle authorized education center to fit the " hand-on course requirement " ?
    A1 -- Yes, if you passed 1Z0-001, you do not need to take 1Z0-051.  When courses are retired, it simply means they are no longer given to *new* students.  Anyone who passed them still retains credit for having done so.
    A2 -- Self Study CDs do not count for the hands-in requirement.  On the approved courses page of OU, it specifically states: "Self Study CD-Rom and Knowledge Center courses are excellent study and reference tools but DO NOT meet the Hands-on Requirement for certification."
    A3 -- Only one course is required for the 11G OCP.  That one is on the approved list and so will be acceptable if the vendor is authorized by OU.

  • 1Z0-051 exam tips

    Hi everybody
    My name is Jon Toshmatov and I am preparing for 1Z0-051 exam and I would like to ask you a few questions.
    First, a little my background, I work for IBM in mainframe storage team and prior to IBM I have a few years of DBA experience.
    Within 3 months I want to pass the 1Z0-051 exam and next 3 months 1Z0-052 exam and obtain OCA certification within total 6 months. Is this doable?
    I am using this book "OCA Oracle Database 11g SQL Fundamentals I Exam Guide: Exam 1Z0-051 (Osborne ORACLE Press Series) " and Oracle manuals from Oracle website. Any other textbooks you would recommend?
    Please share some tips and hints with me so I can build my preparation strategy.
    appreciate your help
    sincerely,
    Jon Toshmatov
    www.toshmatov.us
    Dubuque, Iowa

    htoshmatov wrote:
    Hi everybody
    My name is Jon Toshmatov and I am preparing for 1Z0-051 exam and I would like to ask you a few questions.
    First, a little my background, I work for IBM in mainframe storage team and prior to IBM I have a few years of DBA experience.
    Within 3 months I want to pass the 1Z0-051 exam and next 3 months 1Z0-052 exam and obtain OCA certification within total 6 months. Is this doable?
    I am using this book "OCA Oracle Database 11g SQL Fundamentals I Exam Guide: Exam 1Z0-051 (Osborne ORACLE Press Series) " and Oracle manuals from Oracle website. Any other textbooks you would recommend?
    Please share some tips and hints with me so I can build my preparation strategy.
    appreciate your help
    sincerely,
    Jon Toshmatov
    Dubuque, IowaSee:
    http://blogs.oracle.com/certification/2010/07/0264.html
    http://blogs.oracle.com/certification/2009/05/the_route_you_choose.html
    http://blogs.oracle.com/certification/2008/10/question_of_the_day_how_to_pre.html
    Preparation time depends on the individual and how much time they have. Do not be surprised if your preparation time for 1z0-051is shorter than that for 1z0-052. Also be aware if you want to move to DBA OCP you need mandatory training at some point

  • Querry on 1z0-007 exam objectives

    I am a student and I have a querry about objective covered in SQL9i (1Z0 -007) Exam. As i had studies course material provided by Oracle Education details are:
    (40049GC10 /Production 1.0 / June 2001 / D33052 ) is printed on book.
    The detais provided on web site (Test Contetnt Checkkist) is covered till chap 14 and chap 15-20 has objective below
    Using SET Operator
    1. describe SET operator
    2. Use a SET operator to combine multiple queries into a single query
    3. Control the order of rows returned.
    Oracle 9i Datetime Functions
    1. After completing this lession, you should be able use the following datetime functions:
    current_date,current_timestamp,localtimestamp,dbtimezone,sessiontimezone,extract,from_tz,to_timestamp,to_timestamp_tz,to_yminterval,tz_offset
    Enhancement to the GROUP BY Clause
    1. Use the rollup operation to produce subtotal values
    2. use the cube operation to produce cross-tabulation values
    3. use the grouping function to identify the row values created by rollup and cube
    4. use grouping sets to produce a single result set.
    Advanced Subquery
    write a multiple column subquery
    describe and explane the behaviour of subqueries when null values are retrived
    write a subquerry in from clause
    use scaler subqueries in sql
    describe the type of problem that can solved with correlated subqueries
    write corelated subqueries
    update and delete rown using corelated subqueries
    use exist and not exist operators
    use the with clause
    hierarchical retrieval
    interpret the concept of a hierarchical query
    create a tree structured report
    format hierarchical data
    exclude branches from the tree structure
    Oracle 9i Extension to DML and DDL Statements
    describe the feature of multiple inserts
    use the following types of multiple inserts
    Unconditional inserts
    pivoting inserts
    conditional all insert
    conditional first insert
    create and use external tables
    name the index at the time of creationg a primary key constraint
    so my main query , is following objectives are included in the list of objectives of 1z0-007 exam or not.
    kindly reply to me with proper solution or forward this mail to concern personnel if u r not know abot my query.
    thanks and regards,
    vikram anand
    lucknow (U.P.)
    India
    [email protected]

    There is no such specific Oracle Documentation given in Oracle, rather you will have to refer a couple of related Oracle Documentations.
    Here are the Oracle SQL Documentations.
    http://download.oracle.com/docs/cd/B10501_01/nav/docindex.htm?remark=homepage#index-SQL
    If you need specific document on this exam, you will have to undergo the related training course, then you will be given Oracle Student Guides/ILT Materials.
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_org_id=68&lang=US&p_exam_id=1Z0_007#1
    Best of luck.
    Regards,
    Sabdar Syed.

  • Is the Oracle Database Express Edition 11g Release 2 enough for preparing for the 1Z0-051 and 1Z0-144 Exams?

    I am planning on getting certified as an OCA PL\SQL developer. I will be teaching myself and I have all the material needed to prepare.
    Except, I don't have a database that I can solve exercises on and practice commands.
    The two exams I will be taking are the :
    1Z0-051 exam: Oracle Database 11g: SQL Fundamentals I
    1Z0-144 exam: Oracle Database 11g: Program with PL/SQL
    So is the Oracle Database Express Edition 11g Release 2 is enough ?
    If it is not what other options do I have (I am running Windows 8.1) ?

    Yes -- 11gXE should be sufficient for practicing the vast majority of the skills required for those two exams.  I *think* that PARALLEL is not enabled in XE, so you could not test the functionality referred to in the "Use NOCOPY hint, PARALLEL ENABLE hint and DETERMINISTIC clause" topic of 1Z0-144.  I don't consider that to be a significant problem, however.  The material from the manual should suffice for the questions you'll see.
    As for what other options you have, you could download and install VirtualBox (free from Oracle).  You could then make a virtual machine on your Windows 8.1 machine and install Oracle Linux (free from Oracle).  You could then download and install Oracle Enterprise for Linux and install it on your virtual machine (allowable under the licensing when used for learning purposes only).  I have a similar setup on my Windows 7 laptop that I use when I absolutely have to test some feature that requires Oracle Enterprise.  Mind you, when I have the VM running on my system... it is ssssslllllloooooowwwwww because of the memory requirements.  I talk about using virtual machines as a certification aid in the following article:
    There is virtually no excuse to lack hands-on experience - CertMag

  • Oracle 1Z0-052 exam help !!

    Hi,
    I have passed SQL fundamental-I (1Z0-051) exam and now I am preparing for oracle database Administration exam-I(1Z0-052), but I have few questions :
    (1) Is knowledge of linux/solaris is must to pass this exam.
    (2) Is their is any requirement of PL/SQL before starting for this exam study.

    As Brandye says, you should use the exam topics to plan your study.  The answer to your questions, however, is no to both.  You can find links to Oracle documentation, articles, books and videos relevant to this exam here:
    Oracle Certification Prep: Exam details and preparation resources for 1Z0-052

Maybe you are looking for

  • Photo gallery with text description

    I've got PSE7 and DW CS4. I'd like to add a photo gallery to a website where the photo is accompanied by a text description of about 60 words (ie not just a title). Ie the user clicks on a thumbnail and when the larger image is displayed, the user al

  • Need to populate description  beside its selection screen

    Hi I need to populate description of the following field beside its selection screen. can someone guide and help.. for eg: If i enter 1 in the selection screen. its following description shd be populated next to it Kamlesh

  • No Receiver Determination

    I am working on a JDBC-XI-File Scenario. I have multiple file receivers. When I tried testing the scenario giving <TEST> in the update query option in jdbc adapter, I am getting an error saying no receiver determination. I could see my message sent s

  • Session Pooling for CRMoD - Web services.

    Hi, We have a Java application which fetches the Contact Data on the basis of the Phone Number in CRMoD, using web services. (it happens on a hyperlink click). Before fetching the contact data, we establish the session between our app and CRMoD using

  • Photoshop CS5- How to paste image as pixel or smart object

    It happened before but now I can't get it to happen.  Just a few days ago when I could paste (cmd V) an item in Photoshop CS5, I would get a pop up -- Paste as pixel, smart object etc.  Now I don't get the option. How do I make it appear?  I need to