0% found this document useful (0 votes)
2 views

DOCUMENTATION

The document contains practical implementations and SQL queries related to data file handling, data structures in Python, and relational databases. It includes menu-driven programs and specific SQL commands for creating tables, inserting data, and querying product and employee information. The document serves as a guide for students in 12th grade, focusing on practical applications of computer science concepts.

Uploaded by

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

DOCUMENTATION

The document contains practical implementations and SQL queries related to data file handling, data structures in Python, and relational databases. It includes menu-driven programs and specific SQL commands for creating tables, inserting data, and querying product and employee information. The document serves as a guide for students in 12th grade, focusing on practical applications of computer science concepts.

Uploaded by

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

computer

science
documentation

NAME:-ABHISHEK
CLASS/SEC:- 12th-D
ROLL NO:- 14
cH- 4
DATA
FILEHANDLING

practical IMPLEMENTATIONS-
PI-27

OUTPUT

Menu Driven PROGRAM-


OUTPUT
cH- 5
DATA structures
in python
Menu Driven PROGRAM-

OUTPUT
cH- 7
RELATIONA
L
DATABASE AND
SQL
pROGRAM1- Consider table "Product". Write SQL
commands and display output for the statements:
a)To create table and insert details.
b)To display the details of product whose price is

in the range of 50 to 100(incl. both values).

c)To display the details of product whose name


ends with "Wash".
D)To display the details of product whose name
ends with "Wash".
E)To display the details of product whose name

ends with "Wash".

pROGRAM2- Consider table "Product". Write SQL


queries for the following and give the output for the
same. Take table name as "Products and suppliers":
Tables: Products Suppliers
a)To arrange and display all the records of table
products on the basis of product name in the
ascending order.

b)To display product name and price of all those


products whose price is in the range of 10,000 and
15,000(incl.both values).

c) To display product name , price and quantity of


all those products which have quantity more than
100.
d) To display the name of companies and names
of the products in descending order of the
company names.

e) To display the names of suppliers who are from


Delhi or Chennai.
pROGRAM3- Consider the tables 'EMPLOYEE' and
'SAL_GRADE'. Write SQL queries for the following and
give the output for the same:
Tables: EMPLOYEE SAL_GRADE

a) To display the details of all Employees in


descending order of DOJ.
b) To display the details of all Employees in
descending order of DOJ.

c) To display the content of the entire Employee


table whose DOJ is in between 09- Feb-2006 and
08-aug-2009.

You might also like