Dbms Final Examination Answer Key
Upcoming SlideShare
Loading in...5
×
 

Dbms Final Examination Answer Key

on

  • 2,981 views

SQL Final Examination Answer Key

SQL Final Examination Answer Key

Statistics

Views

Total Views
2,981
Views on SlideShare
2,981
Embed Views
0

Actions

Likes
1
Downloads
34
Comments
1

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Dbms Final Examination Answer Key Dbms Final Examination Answer Key Document Transcript

    • FINAL EXAMINATION 2 Name: ________________________________ Date: __________________ Course/Year/Section: __________________ Instructor: ______________ Score & %: _____ & _____ INSTRUCTIONS: Open the MySQL database (education database-group table) located at the database server (192.168.100.93). Make a query of the following statements. Write the SQL statements to display the output. 1 Make a query of the students whose province is Quezon. Display the firstname, middle, surname and province. SELECT firstname,middle,surname,province FROM `Group No.` WHERE ANSWER province='Quezon' 2 Make a query of the BEED Students. SELECT * FROM `Group No.` WHERE course='BEED' ANSWER 3 Make a query of the students whose from Famy. Select all the data of the records whose from Famy. SELECT * FROM `Group No.` WHERE town='Famy' ANSWER 4 Make a query of the BSED Students. SELECT * FROM `Group No.` WHERE course='BSED' ANSWER 5 Make a query of the students whose from Mabitac. Display the student no., firstname, middle, and surname. SELECT studno,firstname,middle,surname FROM `Group No.` WHERE town='Mabitac' ANSWER 6 Make a query whose firstname is Harlene.
    • SELECT * FROM `Group No.` WHERE firstname='Harlene' ANSWER 7 Make a query of the students whose from Pangil. Display the firstname, middle, surname, town and province. SELECT firstname,middle,surname,town,province FROM `Group No.` WHERE ANSWER town='Pangil' 8 Make a query of the students whose age is 16. SELECT * FROM `Group No.` WHERE age=16 ANSWER 9 Make a query of the students whose from Sta. Maria. Display the student no., firstname, middle, surname and town. SELECT studno,firstname,middle,surname,town FROM `Group No.` WHERE town='Sta. ANSWER Maria' 10 Make a query of the students whose age is 17. SELECT * FROM `Group No.` WHERE age=17 ANSWER 11 Make a query whose surname is Bautista and whose age is 17. SELECT * FROM `Group No.` WHERE surname='Bautista' AND age=17 ANSWER 12 Make a query of the student number is M09-1-12369. SELECT * ANSWER FROM `Group No.` WHERE studno = 'M09-1-12369' 13 Make a query of the students whose from Sta. Maria. Display the student no., firstname, middle, surname and town.
    • SELECT studno,firstname,middle,surname,town FROM `Group No.` WHERE town='Sta. ANSWER Maria'