Class XII IP MySQL Functions Assignment-II
Class XII IP MySQL Functions Assignment-II
Class XII IP MySQL Functions Assignment-II
Informatics Practices
Class XII
Assignment-II
MySQL Functions
5. Based on above table Stock, Predict the output for the following
a. SELECT MIN(PRICE) AS ‘LOWEST PRICE’ FROM STOCK;
b. SELECT LEFT(UCASE(COMPANY),2) FROM STOCK;
6. Alan created a table student with fields, rollno, name, sub and marks. And he wrote the
following commands and generated output
8. Vaishnav was studying about MySQL Functions and he got confused between the
aggregate functions and scalar functions. Help him to distinguish between the same with
the help of examples.
10. Consider the table emp given and answer the following questions:
Table: Emp
EMP_ID EMP_NAME DEPT PAY ALLOWANCE
E001 ANKITA DEVELOPMENT 55000 5000
E002 SUSHANT R&D 45000 4000
E003 VINOD DEVELOPMENT 50000 5000
E004 MOHITHA DESIGN 40000 4000
E005 SHIVA R&D 50000 5000