0% found this document useful (0 votes)
29 views17 pages

IP Practical File

Uploaded by

Raj Dubey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
29 views17 pages

IP Practical File

Uploaded by

Raj Dubey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
INFORMATICS PRACTICES PRACTICAL FILE on MYSQL NAME : ROHNIT RAUTELA CLASS : 12th-SCIENCE ROLL NO. : CERTIFICATE This is to certify that Rohnit Rautela, a student of Class XII-Science, has successfully completed the practical work in Informatics Practices on MySQL for the academic session 2024-25. The practical file submitted by the student is a genuine work completed under my supervision and guidance in accordance with the CBSE curriculum. I wish him all the best for his future endeavors. Subject Teacher Name: Mrs. Pooja Signature: External Examiner Signature: Date: School Seal ACKNOWLEDGEMENT I would like to express my heartfelt gratitude to my Informatics Practices teacher, Mrs. Pooja, for her valuable guidance, support, and encouragement throughout the completion of this practical file on MySQL. Her expertise and suggestions were instrumental in helping me understand the concepts and complete the project successfully. I am also thankful to the school authorities for providing me with the necessary facilities and resources to carry out this work. Lastly, I extend my sincere thanks to my parents, classmates, and friends for their constant motivation and assistance during this project. Rohnit Rautela Class XII-Science INDEX 1. Creating a table : emp_0O1 2. Use of group by function with like and other 3. Use of having function with like and other 4. Use of aggregate and single row function 1. Creating A table : emp_O1 Pree s) aera co oor enp_o1 ( CHAR(26) , ARCHAR(20), Cereus ECs Cea omen Fest Ona (CoS Coa ss em Nee URL eet ach PAG Pacts Data Science’, See ey) FirerSeamr 1) corey OL cee ie rows affected ( cre enc eea) oe ee restr Peet E aa) Peed Creme ters Bat eng certian cron ee Trea Te a erat "2020-89-12! a ise ry 75008) crete era Priet Pisces hij@gnait Ton ey Pane crore) rt) 2. Use of group by function with like and other Cee Oe eimai wc a emp_no | name ca he CoO C Nee aay PCT Oe eee eRe eT + | + ee 69000 | ghi€[Link] | RUT a + Pe easy ret Ritika Hohit ee rue Manmohan [Link] | 3. Use of having function with like and other ons J Fl EVENS a | + very Peis cicn | Numal | Data Science | Peace eee me Opt ey ada | fgh@[Link] | 27400 | Cuma etd 0-11 | Seemapuri | cde@[Link] | 20000 | ience | 2020-1 ca ence | 2 cya) Lr Cece riage thin oe eco peng iran Peeriey Mayur Vihar it c amet ated oor 3 Leen Anit C aero) ore 5 cree 4. Use of aggregate and single row functions Cee Nees a mysql> select Lcase(email) from emp_01; ARE e Cea) + | as Pere eae tact a a ce Cure cena | | | | Fs efg@gmail. Bale ma Pherae eure pe Een ae jkl@gmail. 10 rows in set (0.00 sec) mysql> select round (salary,2) from emp_01; mysql> select max(DOB) from emp_01; A | i | 6 al 1 row in set (0.00 sec) mysql> select date(D0B) from emp_@1; = | date(DOB) He * | rs | | | | | | | | | | | | eee aes eye y ae) elle mys ely lovee) eee e) | 2020-12-20 year | 2020-09-12 as aa us in set (0.00 sec) NEE ee OU et Le a a = dayname (DOB) PLETE wy Pea OnE Beara] CTO ES ener Es) Ears] mysql> select Length(name) from emp_01; + Length(name) ty 5 (-) uv 8 5 i ry i 5 DNA ee aa Reta ot mo aes + | name | min(salary) | = | Ritika | 12500 | ET Demet ea): eal et CB ec | Ritika | 2020-01-22 | to--- oo J 1 row in set (0.00 sec) (DOB) from emp_@1; Ce ae) De emer Cae) a) pow(salary, 2) 156250000 rr 900000 PE rr ee) 5625000000 PEST . | + | | | | ! Ee) | | | | | + 1 @ rows in set (@.00 sec) CNET emer tee Meo mS ee in_set (0.00 sec) fa) oo) cae), com fe] Ri mcle bdmec@e),| ect right(email,4) from emp_01; —+ ight(email,4) | + | | | | | | | | | | + ® rows in set (0.00 sec) De eee eta CC Leta) est) eS rn midCemail,5,4) + | + | | | | | | | | | | a © rows in set (0.00 sec) mysql> select right(email,4) from emp_01; 2 are ec rscuctaa a + ay | oo | com | Pa | rr) | or | com | ee | rr) | aly | zs

You might also like