Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 10 pages
Exam (elaborations)

DBMS – DATABASE MANAGEMENT SYSTEM FOR ADMINISTRATOR EXAM QUESTIONS THAT EXPLAIN BETTER ABOUT SQL.

Document preview thumbnail
Preview 2 out of 10 pages

DBMS – DATABASE MANAGEMENT SYSTEM FOR ADMINISTRATOR EXAM QUESTIONS THAT EXPLAIN BETTER ABOUT SQL.

Content preview

DBMS – DATABASE MANAGEMENT SYSTEM FOR ADMINISTRATOR EXAM
QUESTIONS THAT EXPLAIN BETTER ABOUT SQL




1. OOEvaluate OOthese OOtwo OOSQL OOstatements:
SELECT OOlast_name, OOsalary, OOhire_date OOFROM OOEMPLOYEES OOORDER OOBY
OOsalary OODESC; OO
SELECT OOlast_name, OOsalary, OOhire_date OOFROM OOEMPLOYEES OOORDER OOBY
OO2 OODESC;
What OOis OOtrue OOabout OOthem? OO- OOSOL OO-The OOtwo OOstatements OOproduce
OOidentical OOresults.


Which OOstatement OOcorrectly OOdescribes OOSQL OOand OO/SQL*Plus? OO- OOSOL OO-Both
OOSQL OOand OO/SQL*plus OOallow OOmanipulation OOof OOvalues OOin OOthe OOdatabase.


Which OOview OOshould OOa OOuser OOquery OOto OOdisplay OOthe OOcolumns OOassociated
OOwith OOthe OOconstraints OOon OOa OOtable OOowned OOby OOthe OOuser? OO- OOSOL OO-
USER_CONS_COLUMNS

Evaluate OOthe OOfollowing OOSQL OOstatements:
DELETE OOFROM OOsales;
There OOare OOno OOother OOuncommitted OOtransactions OOon OOthe OOSALES OOtable.
Which OOstatement OOis OOtrue OOabout OOthe OODELETE OOstatement? OO- OOSOL OO-It
OOremoves OOall OOthe OOrows OOin OOthe OOtable OOand OOdeleted OOrows OOcan OObe
OOrolled OOback


Examine OOthe OOstatement:
Create OOsynonym OOemp OOfor OOhr.employees;
What OOhappens OOwhen OOyou OOissue OOthe OOstatement? OO- OOSOL OO-You OOcreate
OOan OOalternative OOname OOfor OOthe OOemployees OOtable OOin OOthe OOHR OOschema
OOin OOyour OOown OOschema


Which OOstatement OOis OOtrue OOregarding OOthe OOUNION OOoperator? OO- OOSOL OO-
NULL OOvalues OOare OOnot OOignored OOduring OOduplicate OOchecking

Which OOCREATE OOTABLE OOstatement OOis OOvalid? OO- OOSOL OO-CREATE OOTABLE
OOord_details
OO(ord_no OONUMBER(2),
OOitem_no OONUMBER(3),
OOord_date OODATE OODEFAULT OOSYSDATE OONOT OONULL,
OOCONSTRAINT OOord_pk OOPRIMARY OOKEY OO(ord_no, OOitem_no));

, Which OOobject OOprivileges OOcan OObe OOgranted OOon OOa OOview? OO- OOSOL OO-
DELETE, OOINSERT, OOSELECT, OOUPDATE

You OOneed OOto OOcreate OOa OOtable OOfor OOa OObanking OOapplication. OOOne OOof OOthe
OOcolumns OOin OOthe OOtable OOhas OOthe OOfollowing OOrequirements:
You OOwant OOa OOcolumn OOin OOthe OOtable OOto OOstore OOthe OOduration OOof OOthe
OOcredit OOperiod OOThe OOdata OOin OOthe OOcolumn OOshould OObe OOstored OOin OOa
OOformat OOsuch OOthat OOit OOcan OObe OOeasily
added OOand OOsubtracted OOwith OODATE OOdata OOtype OOwithout OOusing OOconversion
OOThe OOmaximum OOperiod OOof OOthe OOcredit OOprovision OOin OOthe OOapplication OOis
OO30 OOdays OOthe
interest OOhas OOto OObe OOcalculated OOfor OOthe OOnumber OOof OOdays OOan OOindividual
OOhas OOtaken OOa OOcredit OOfor
Which OOdata OOtype OOwould OOyou OOuse OOfor OOsuch OOa OOcolumn OOin OOthe OOtable?
OO- OOSOL OO-INTERVAL OODAY OOTO OOSECOND


The OOSTUDENT_GRADES OOtable OOhas OOthese OOcolumns:
OOSTUDENT_ID OONUMBER(12)
OOSEMESTER_END OODATE
OOGPA OONUMBER(4,3)
Which OOstatement OOfinds OOstudents OOwho OOhave OOa OOgrade OOpoint OOaverage
OO(GPA) OOgreater OOthan OO3.0 OOfor OOthe OOcalendar OOyear OO2001? OO- OOSOL OO-
SELECT OOstudent_id, OOgpa
OOFROM OOstudent_grades
OOWHERE OOsemester_end OOBETWEEN OO'01-JAN-2001' OOAND OO'31-DEC-2001'
OOAND OOgpa OO> OO3.0;


Which OOstatement OOis OOtrue OOregarding OOthe OOUSING OOand OOON OOclauses OOin
OOtable OOjoins? OO- OOSOL OO-The OOWHERE OOclause OOcan OObe OOused OOto OOapply
OOadditional OOconditions OOin OOSELECT OOstatement OOcontaining OOthe OOON OOor OOthe
OOUSING OOclause


The OOuser OOAlice OOwants OOto OOgrant OOall OOusers OOquery OOprivileges OOon OOher
OO*DEPT OOtable*. OOWhich OOSQL OOstatement OOaccomplishes OOthis? OO- OOSOL OO-
GRANT OOselect OOON OOdept OOTO OOPUBLIC;

You OOneed OOto OOdisplay OOthe OOdate OO11-Oct-2007 OOfrom OOtable OODUAL OOin
OOwords OOas OO*`Eleventh OOof OOOctober, OOTwo OOThousand OOSeven'*. OOWhich OOSQL
OOstatement OOwould OOgive OOthe OOrequired
result? OO- OOSOL OO-SELECT OOTO_CHAR(TO_DATE('11-oct-2007'), OO'fmDdthsp OO"of"
OOMonth, OOYear') OOFROM OODUAL;


The OOSTUDENT_GRADES OOtable OOhas OOthese OOcolumns:
OOSTUDENT_ID OONUMBER(12)
OOSEMESTER_END OODATE
OOGPA OONUMBER(4,3)

Document information

Uploaded on
July 16, 2025
Number of pages
10
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$13.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
49
Last sold
-


Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions