Home /PU — University of the Punjab /Database System

Database System BS 5 Semester/Term PU — University of the Punjab 2013

Database System BS 5 Semester/Term PU — University of the Punjab 2013 — page 1

Discussion

Ask a question about this paper, or help someone else with theirs. Answers are emailed to whoever asked.

Your email is only used to send you replies and occasional Ustadni updates. It is never shown publicly.

Log in to post under your name

No questions yet — be the first to ask.

Need Paper? See all →

Need a paper or stuck on a question? Ask here — students reply and you get an email.

Ask about a paper
  • Ayesha Mustafa· 3 days ago

    BS ZOOLOGY first semester Animal diversity ZOOL 101 - university of Punjab 2025

    0 replies Reply →
  • Abubakar· 3 days ago

    Literary criticism

    1 reply Reply →
  • Guest· 4 days ago

    this paper consists of 60 marks but now we have 35 marks paper.

    1 reply Reply →
  • Annie· 4 days ago

    Can you please tell me more past papers please because my exams are starting from next week

    1 reply Reply →
  • Ahmed· 8 days ago

    Did you provide the past papers of the science of society uos?

    1 reply Reply →

More Database System papers

See all

Paper text

PAPER: Database Systems (CMP)

Course Code: IT-304

UNIVERSITY OF THE PUNJAB

Fifth Semester 2013

Roll NO.

Examination: B.S. 4 Years Programme

TIME ALLOWED: 2 hrs. & 30 mins.

MAX. MARKS: 50

Attempt This Paper on Separate Answer Sheet provided.

SUBJECTIVE TYPE

Q2: Answer the following short questions.

(15 marks)

IL

I1L.

Write a query to show the location & name of those whose salary is less than the salary of King.

Show the salary Grade of all employees whose salary is greater than the salary of King. Ford and Michel.

Show the name and job title of all those employees whose name is containing 2' or at fifth place having 'S'

or starting with " or having two A's in it and job title is greater than Accounts.

Display the name of all those employees who join the company after six month of King and currently

serving in Lahore.

Display the name of those employees whose salary is greater than average salary of all departments and

less than the salary of maximum salary of all departments.

Schema:

Emp (Empno, Ename, sal, comm, deptno, mgr, job, HireDate)

Dept (Deptno, Dname, Lor)

SalGrade (Hisal, Losal, SalGrade)

Q3: Normalize the relation given below in 2e4 normal form

(10 marks)

Name

Age

Student

NIC

CourseName

Grade

Skills

CourselD