Informatics Practices Practical File For Class 12th
Informatics Practices Practical File For Class 12th
Practices
Practical file
By
(your
name)
Academic year 20xx-xx
ACKNOWLED
GEMENT
I would like to extend my heartfelt
thanks to my teacher teacher name ,
for providing me with the opportunity
to undertake this project and for their
constant guidance and
expertise. Their valuable insights and
feedback have greatly enhanced the
quality of my work.
I would also like to thank our principal
for giving me this great opportunity to
do a project. Without their support
and suggestions, this project would
not have been completed.
CERTIFI
CATE
This is to certify that your name
of class your class has
completed his Informatics
Practices project under the
guidance of teacher name for
the academic year 2023-2024.
Teacher Signature
________________
Index
S.no Page.no
Topic
Create database
1
Use database
2
Create table
3 Describe table
4 Adding columns
5 Describe table
change call name
6
display table
7
drop column
8
insert data into table
9 displaying name with condition
10 find min Max,sum,and,average of the marks
11 Query to order
Delete the details of table
12
delete table
13
delete database
14
15
16
17
18
MySQL Queries
Create database -
>>Create database <database name> ;
Use database –
>>use <database name> ;
Create table :-
Creates a table named "Students" with columns for
student ID, name, marks, and class.
>> create table <table name>
Adding Columns:
Adds a new column named "new_column" to
the "Students" table.
>> ALTER TABLE table_name
ADD column_name datatype;
Change column name :-
Renames the "new_column" to "new_name" in
the "Students" table.
>>ALTER TABLE Students CHANGE COLUMN
new_column new_name VARCHAR(50);
Delete a column :-
value
To display distinct values for a specific column, you can use the
DISTINCT keyword in a SELECT statement. If you want to display
distinct names from the "Students" table, for example, you
would do something like this: