Home      Tests New!      Polls      Discussion Forums     Take a Quiz     Make a Quiz     Login     Contact QuizMoz Go to Home Page  


   
  Find a quiz.
  Example: Harry Potter Quiz


Create your own Poll
Create a Test
Make a Trivia Quiz
Make a Quiz about Yourself
Make Free Personality Test
Recommend QuizMoz
  Personal Injury Law Quizzes






 
Hottest Quizzes
Valentine Quiz
 

Featured Quizzes
 Michael Jackson Quiz
 English Language Test
 Does He Love You Quiz
 Business Phone Etiquette Quiz
 Impossible Quiz
 Personality Quiz
 Free Quizzes
 Tiger Woods Wife Cheating Quiz
 Keira Knightley Quiz
 Rage Against The Machines Quiz
 FIFA World Cup 2010
 Are you in Love Quiz
 Skeletal System Quiz
 Love Personality Quiz
 NFL Quiz



 



      Home > Quizzes and Fun Tests > Oracle OCP Practice Tests > Free Oracle OCP Practice Test - Oracle 9i SQL OCP Quiz

Hottest Quizzes
  Valentine Quiz
 
 Free Oracle OCP Practice Test - Oracle 9i SQL OCP Quiz

Welcome to the QuizMoz Free Oracle OCP Practice Test - Oracle 9i SQL OCP Quiz. QuizMoz offers one of the Internet's largest collection of quizzes for you to tease your brain and pit your wits against the experienced QuizMoz quiz masters. Go ahead and find out what you know about yourself and the world around you. Best of luck!!

 Free Oracle OCP Practice Test - Oracle 9i SQL OCP Quiz Facts
 Average Score for this quiz: 58%
 No of times this quiz has been taken: 245
 No of people passing this quiz: 168
 No of people failing this quiz: 77
 Maximum score for this quiz: 100%

Coverage
:
  • Writing Basic SQL Select Statements
  • Restricting and Sorting Data
  • SubQuery
  • Displaying Data From Multiple Tables
  • Producing Readable Output with iSQL*Plus
  • Aggregating Data From Multiple Tables
  • Single-Row Functions
  •  Free Oracle OCP Practice Test - Oracle 9i SQL OCP Discussion Forum
    1. What is the correct use of the Trunc command on a date?
    a.TRUNC=To_Date('09-Jan-02,DD-MON-YY,'YEAR',"Date" from Dual;
    b.Select TRUNC(To_Date('09-Jan-02,DD-MON-YY,YEAR')) "DATE" from Dual;
    c.Date =TRUNC(To_DATE('09-Jan-02','DD-MON-YY'),'YEAR'),'YEAR)"DATE: from DUAL;
    d.SELECT TRUNC(TO_DATE('12-Feb-99','DD-MON-YY'), 'YEAR') "Date " FROM DUAL;
    2. Which type of join should be written to perform an outer join of tables A and B that returns all rows from B?
    a.Any outer join
    b.A left outer join
    c.A cross join
    d.A right outer join
    e.An inner join
    3. How many join conditions should be there to avoid a Cartesian Join for joining three tables?
    a.1
    b.2
    c.3
    d.None of the above
    4. Top N analysis requires ____________ and ____________.
    a.The use of rowed  & Only an inline view
    b.a GROUP BY clause & Only an inline view
    c.an ORDER BY clause & An inline view and an outer query
    d.None of the above
    5. Examine the code given below:

    SELECT employee_id FROM employees WHERE commission_pct=.5 OR salary > 23000

    Which of the following statement is correct with regard to this code?
    a.It returns employees who have 50% of the salary greater than $23,000:
    b.It returns employees who have 50% commission rate or salary greater than $23,000:
    c.It returns employees who have 50% of salary less than $23,000:
    d.None of the above
    6. The STUDENT_GRADES table has the following columns:




    STUDENT_ID        NUMBER (12)
    SEMESTER_ENDDATE
    GPANUMBER (4, 3)

    Which of the following statements finds the highest Grade Point Average (GPA) per semester?
    a.SELECT MAX(gpa) FROM student_grades WHERE gpa IS NOT NULL;
    b.SELECT (gpa) FROM student_grades GROUP BY semester_end WHERE gpa IS NOT NULL;
    c.SELECT MAX(gpa) FROM student_grades WHERE gpa IS NOT NULL GROUP BY semester_end;
    d.SELECT MAX(gpa) GROUP BY semester_end WHERE gpa IS NOT NULL FROM student_grades;
    e.SELECT MAX(gpa) FROM student_grades GROUP BY semester_end WHERE gpa IS NOT NULL;
    7. Which of the following tasks can be performed by using the TO_CHAR function?  
    a.Convert '10'to 10
    b.Convert 10 to '10'
    c.Convert 'TEN' to 10
    d.Convert a date to a character expression
    e.Convert a character expression to a date
    8. Which of the following SELECT statements will get the result 'elloworld' from the string 'HelloWorld'?
    a.SELECT SUBSTR ('HelloWorld',1) FROM dual;
    b.SELECT INITCAP(TRIM('HellowWorld', 1,1) FROM dual;
    c.SELECT LOWER (SUBSTR ('HellowWorld', 2,1) FROM dual;
    d.SELECT LOWER (SUBSTR('HellowWorld', 2,1) FROM dual;
    e.SELECT LOWER (TRIM ('H' FROM 'Hello World')) FROM dual;
        
    9. Where is the GROUP BY clause statement placed in a SELECT statement that includes a WHERE clause?
    a.Immediately after the SELECT clause
    b.Before the WHERE clause
    c.After the ORDER BY clause
    d.After the WHERE clause
    10. Which operators can be used in an outer join condition?
    a.=
    b.OR
    c.IN
    d.AND
    11. Which type of view is implemented as a subquery embedded in the FROM clause of a SELECT statement and is identified by an alias?
    a.Simple
    b.Inline
    c.Complex
    d.Nested
    12. Evaluate the following SQL statement:

    SELECT ROUND (TRUNC (MOD (1600, 10),-1), 2) FROM dual;

    What will be displayed?
    a.0
    b.1
    c.0.00
    d.An error statement
    Think you know more about this quiz!

     
    Please enter your Name and what you would like to tell everyone about Free Oracle OCP Practice Test - Oracle 9i SQL OCP
     Name:
    Think you know more about Free Oracle OCP Practice Test - Oracle 9i SQL OCP and would like others to know too? Whether its a great fact, a joke, a personal experience or an interesting anecdote, please share it with all the human beings on planet earth. Your contribution will help keep QuizMoz a free site for all.

       (Optional)
     (average submission size - 5 to 10 lines)


    Free Oracle OCP Practice Test - Oracle 9i SQL OCP Discussion Forum
    Know the Latest News about Free Oracle OCP Practice Test - Oracle 9i SQL OCP!


    What others think about Free Oracle OCP Practice Test - Oracle 9i SQL OCP
    By: khanna on Oct 28, 2009
      practice well
    By: santosh on Aug 31, 2009
      It is an interesting one for experience people to test the skill how much they r familiar.
    By: sarath on Aug 29, 2009
      its good for practices
    By: Anirudh on Aug 14, 2009
      A good exprerience.
    By: Mike Masembe on May 12, 2009
      I am truelly benefitting from these exercises. Thanx lots. I hope all learners could get to know about this site
    By: Naveed Ali 923214935853 on Feb 11, 2009
      nice site for exploring knowledge
      



    Hot Links
     

     
    Hottest Quizzes
    Valentine Quiz
     

    Most Popular Quizzes
     Free IQ Test
     Big Brother 2010
     Kids General Knowledge Quiz
     2009 General Knowledge Quiz
     NBA 2010 Quiz
     Science Quiz for Kids
     Medical Terminology Quiz
     Career Quiz for Kids
     Home And Away Quiz
     Harry Potter Quiz
     US History Quiz
     Am I Pregnant Quiz
     Dating Etiquette Quiz
     Email Etiquette Quiz




     
    Home     About Us      Advertise     Terms of Service     Privacy Policy     Contact QuizMoz    FAQ     SiteMap
    Copyright © 2007.www.quizmoz.com. All rights are reserved.