Govt. Boys Sr. Sec. School Baprola: School Code: 1617258 Computer Science

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

Govt. Boys Sr. Sec.

School
Baprola
School Code: 1617258

Computer Science

Submit to:- Submit by:-


Sumit Kumar Nager NAME – Nikhil Rai
LECTURER COMPUTER CLASS – 12th A
SCI.
ROLL NO. – 30
ID – 20200102509

1|Page
INDEX
Project Project Name Teacher
Number Signature
1. Write a Python program to
implement a stack using the
list.
2. Create a student table and
insert data.
3. ALTER table to add new
attributes / drop attribute /
rename.
4. UPDATE table to modify
data.
5. ORDER By to display data in
ascending / descending order
6. DELETE to remove tuple(s)
7. Integrate SQL with Python by
importing suitable module.

2|Page
 Write a Python program to implement a stack using
the list.
SOURCE CODE-

3|Page
OUTPUT-

4|Page
 Create a student table and insert data.

Query-

Table-

Query-

Table-

5|Page
 ALTER table to add new attributes / drop attribute /
rename.
Query-

Table-

Query-

Table-

Query-

Table-

6|Page
 UPDATE table to modify data.

Query-

Table-

 ORDER By to display data in ascending / descending


order

Query-(ascending)

Table-

7|Page
Query-(Descending)

Table-

 DELETE to remove tuple(s)

Query-

Table-

8|Page
 Integrate SQL with Python by importing suitable
module.
Source Code-

Output-

9|Page
Source code-

Output-

Source code-

10 | P a g e
Output-

Source code-

Output-

11 | P a g e
Source code-

Output-

Source code-

Output-

12 | P a g e

You might also like