0% found this document useful (0 votes)
9 views1 page

Database-Management-System SQ1

Uploaded by

sohamniwate90
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

Database-Management-System SQ1

Uploaded by

sohamniwate90
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

D

E
09

96

38
88
Paper / Subject Code: 51423 / Database Management System

6
A5

57

EF
D4
6D
09
41

38
88
79

6
A5
A1

EF
D4
6D
95
41
85
(3 Hours) [Total Marks: 80]

38
50

8
9

8
A1

7
46

D4
A

6D
9 5
0E

1
5

8
N.B.: (1) Question No. 1 is compulsory.

79
8

8
A1
8F

1A

6D
5
4
(2) Solve any three questions out of remaining five.

09
0E
78

85

88
14

79
(3) Figures to right indicate full marks.

5
F6

8F

1A

6D
A

95
E4
(4) Assume suitable data where necessary.

8E

85

0
4

79
67

5
1
43

8F

1A
5A

95
F

4
8D

E
8

0
14
7
8

68

5
6
3

F
D8
Q1. Attempt All questions 20

1A
5A
F
4

E4
8
8D

8E

8
96

50
14
(a) Discuss the various DDL Commands with examples

8
6
43

6
8
57

1A
5A
EF

E4
8
D
(b) Discuss select, where, order SQL Commands.

8D

78
09

96

14
8

F0

68
6
43
A5
(c) Differentiate between ER and EER Diagram.

8
7

5A
F

E4
88
D
5

E
9
41

6
(d) What is Normalization in the database, Discuss the need of normalization in

7
8

F0

68
0

8
9

6
3
A5

8
A1

57

EF
4

E4
8
6D
details?

8D

78

85
09
41
85

38

F0
79

46
5

8
A1
46

EF
4

88
A

6D
5

8D

0E
09
0E

41
5

Q2.

67
8
9
8

8F
5

D8
A1

57
8F

EF
D4
(a) What is JDBC, why one should use JDBC in Database discuss. A 10
4

78
9
0E

96
78

38
0

8
4
8

(b) Discuss functions, procedure and cursor in SQL. 10

F6
5

D8
1

57
F6

8F

46

D4
1A
A

8E
.in 09
8E

0E

96
78

88
14
8

43
5

57
F6
3

8F

1A

6D
Q3.
A
D4

8D
09
8E

0E
8

85

79
7
88

(a) Draw EER diagram for Hotel management System 10

A5

D8
A1
6
3

95
F
D4

4
8
6D

(b) Write relational algebra query for(Assume data wherever needed )


8E

es E

41

96
8

85

0
7

0
88
79

A5
1

57
F6
3

8F

(i) Find names of students who live in city ‘Bandra’ from student table A 03
D4

E4
6D
95

09
8E

41
78

5
F0

68

(ii) Find Roll_no of student whose name is ‘Sachin’ from student Table 03
50

88
79

A5
A1
6
43

E4
8
1A

6D
95

ot

(iii) Find name of students whose marks are greater than 500. 04
D

8E

41
78

85
0
50

8
4

79

A1
6
3

8F

46
D8
A1

F
4
1A

95

8D

0E
78

85
96
85

Q4.
8
50
14

6
3

46
un 8
57
46

EF
D4

8
1A

6D
5A

(a) Explain different type of attributes with example in Entity Relational Model 10
0E
8
09
0E

67
38
8
4

9
68

8F
A5

D8

(b) Write SQL Syntax for (Assume one student enroll for only one course) 10
A1

57
8F

EF
4
E4

8D

78
9
41

96
78

85

(i) Create course table (course_id,name,staff_name,duration (in weeks),fees) .


8
0
0

F6
43
A5

8
A1

57
F6

8F

46

m
D

(ii) Create student table (sid,name,phone_number,course_id) with course_id as


D

8E
09
E

41

6
8

8
79
67

F0

68

43

foreign key.
5

D8
A1

1A

95
EF

4
8

8D
0E

96
78

85

(iii) Arrange courses in descending order of fees.


0
4
38

A5

D8
A1

57
F6

8F

46

(iv) Find name of course student name ’John ’has enrolled for.
D4

09
8E

41

96
8

85
67

F0
88

(v) List down names of all students whose course duration is less than 12 weeks
5
1

57
43

A
A
EF

4
8

09
8D

0E

41
78

5
38

68

A5
A1
F6

8F
D8

Q5.
D4

E4
8E

41
8

85
6

67

0
8

(a) Explain various relational Algebra operations in details with examples. 10


79

A1
43

8F

46
D8

EF
95

8D

(b) Discuss how normalization process improves the database design in detail. 10
0E
78

85
96

38
50

8F

46
D8
57

EF
D4

0E
8
09

67
38

Q6. Write short note on 20


8
79

8F
A5

D8

EF
D4
5

(a) Count and group by in SQL.


78
09
41

96

8
8

F6
43
A5

D8
1

(b) Integrity Constraints.


57
5A

8E
09
41

96

(c) Primary key and Foreign key


8
68

43
A5

D8
A1

57

(d) Strong entity set.


8D
09
41

96
85

A5

D8

_______________________
1

57
46

5A

09
0E

41

96
8

A5
1

57
8F

46

21291 Page 1 of 1
5A

09
0E

41
78

A5
1
8F

46

5A
0E

41
78

788F0E4685A141A5095796D88D438EF6
A1
8F

46

You might also like