0% found this document useful (0 votes)
16 views18 pages

Final

Uploaded by

rahullal11122
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)
16 views18 pages

Final

Uploaded by

rahullal11122
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/ 18

IP

PROGRAM
FILE
BY
SARTHAK
KUMAR
TH
12 E
Q1 Create a student table with student id,name and marks as
attributes where the student id is the primary key

CODE

CREATE TABLE STUDENTS(STUDENT INT PRIMARY KEY,NAME


VARCHAR(30),MARKS INT);

OUTPUT

Q2 Insert the details of new student in the above table

CODE

INSERT INTO STUDENTS(STUDENTID,NAME,MARKS)(001,’ANITA’,65);

INSERT INTO STUDENTS(STUDENTID,NAME,MARKS)(002,’DEV’,57);

INSERT INTO STUDENTS(STUDENTID,NAME,MARKS)(003,’JATIN’,78);

INSERT INTO STUDENTS(STUDENTID,NAME,MARKS)(004,’SAMYA’,55);

INSERT INTO STUDENTS(STUDENTID,NAME,MARKS)(005,’RISHAB’,62);

INSERT INTO STUDENTS(STUDENTID,NAME,MARKS)(006,’DURGA’,79);

OUTPUT

Q3 Use select command to get the details of students with marks more than 70.
CODE
SELECT&* FROM STUDENTS WHERE MARKS >70;
OUTPUT

Q4 Find the min,max,sum,and average of the marks in a student mark table


CODE
SELECT MIN(MARKS),SUM(MARKS),AVG (MARKS) FROM STUDENTS;
OUTPUT

Q 5 Write a SQL query to order the (student ID,marks) table in descending order of the
marks
CODE
SELECT SUDENTID,MARKS FROM STUDENT ORDER BY MARKS DESC;
OUTPUT

Q 6 Show number of students score between 50-80.


CODE
SELECT*FROM STUDENT WHERE MARKS BETWEEN 50 AND 80;
OUTPUT

Q7 Show number of students whose name start with j.


CODE
SELECT * FROM STUDENTS WHERE KIKE’J%’;
OUTPUT

Q8 Use string function


CODE
SELECT INSTR(“INFORMATICS PRACTICE”,”P”);
OUTPUT

Q9Use left and right function


Code
Select name,left(name,2),right(name,3) from students;
output

Q 10 Delete the details of a students in the above table.


CODE
DELETE FROM STUDENTS;
OUTPUT

Q11 Find the total number of customers from each country in


the table( Customer ID,customer Name,Country) using group
by.

CODE
SELECT COUNTRY_NAME,COUNT(CUSTOMER_ID) FROM

COUNTRY GROUP BY COUNTRY_NAME

OUTPUT

Q12 Write a SQL query to change marks of student to 600 whose student id is 03,if the
existing marks is less than 400.
CODE&OUTPUT

Q13 CREATE DATABASE


CODE&OUTPUT

Q14 DISPLAY THE TABLE ORDER BY ARTICLE


CODE&OUTPUT

Q 15 What is the highest item number?

CODE&OUTPUT

Q 16Find the number, dealer, and price of the most expensive article.

CODE&OUTPUT

Q16 Find the highest price per article.


CODE&OUTPUT

Q 17 To use in string function.


CODE&OUTPUT

Q 18 For each article, find the dealer or dealers with the most expensive price.
CODE&OUTPUT

Q 19 use describe command


CODE&OUTPUT
Q20 To use ascii and char function.
CODE&OUTPUT

Q 21 To use mid and substring function.


CODE&OUTPUT
Q 22 use mod function
CODE&OUTPUT

Q23 Use sqrt function


CODE&OUTPUT

Q24 USE POWER FUNCTION


CODE&OUTPUT

Q 25 Use sign function


CODE&OUTPUT
CERTIFICATE
This is to certify that SARTHAK KUMAR of class XII has
completed his IP project titled Covid 19 hospital
management system under the guidance of Nitin sir
for the academic year 2021-22 The certified student
has been dedicated throughout his research and
completed his work before the given deadline without
missing any important details from the project. It is
also certified that this project is the individual work of
the student and can be submitted for evaluation.
INFORMATICS PRACTICES
CODE NO: 065
2021-2022
PROJECT FILE
ON
COVID 19
HOSPITAL DATA
MANAGEMENT
SYSTEM

NAME-SARTHAK KUMAR
CLASS-12TH E
INTRODUCTION
COVID 19 DATA ANALYSIS

Problem Definition: Covid 19 hospital management system has been developed to manage void
patient and doctor records efficiently. It helps to manage all the paperwork in one place. It also gives
a graphical representation of the dominance of status of covid patients in a given age

The Project "covid 19 hospital management system” is developed by SARTHAK KUMAR it took
approx. 7 days to develop this project, working 1 hour daily. All modules were completed by me only
as per my view and knowledge.

Reason for choosing the Topic: Because for the past 2 – 3 years from when the coronavirus
pandemic has started, data related to the pandemic has to be analyzed by everyone across the
world whether it is the government or the public, or great economists as well, calculating Total,
percentage, deaths, recovery range analysis is a tedious and tiring job for the government of each
country. Some Computer savvy countries make these calculations on spreadsheets etc. after data
alignment from the text file to the excel sheet, there was also manipulation of wrong data related to
the pandemic, which created more chaos among the people. That's why to simplify their task and
avoid manipulation of covid cases,

I took the challenge and started working with this project to automate the analysis of covid hospital
management-related data using Python programming.

Objective:

• It maintains recovering status of covidpatient

• Maintains contact details of covidpatient

• Specialization of doctors

• appointment for RT-PCR

Limitations:

1- It is not web-based project

2- Needs more customization to fulfill the need of every state/country.

3- More functionality can be added as per requirement.

4- No provision to print hard copies

You might also like