Informatics Practices
Which of the following functions is used to find the largest value from the given data in MySQL?
- MAX()
- MAXIMUM()
- LARGEST()
- BIG()
SQL Queries
2 Likes
Answer
MAX()
Reason — The MAX() function is used to find the maximum value of a particular column in a table.
Answered By
2 Likes
Related Questions
What SQL statement do we use to display the record of all students whose last name contains 5 letters ending with "A"?
- SELECT * FROM STUDENTS WHERE LNAME LIKE '_ _ _ _A';
- SELECT * FROM STUDENTS WHERE LNAME LIKE '_ _ _ _';
- SELECT * FROM STUDENTS WHERE LNAME LIKE '????A';
- SELECT * FROM STUDENTS WHERE LNAME LIKE '*A';
Which one of the following is not an aggregate function ?
- ROUND()
- SUM()
- COUNT()
- AVG()
Consider a table named Employees with columns — EName, Age, Salary and Designation. Which SQL statement do we use to find out the total salary given to employees?
- Select SUM(Salary) From Employees;
- Select COUNT (*) From Employees;
- Select FIND (*) From Employees;
- Select SUM () From Employees;
Which clause in SQL is used to apply a condition on a group?
- Where
- Having
- As
- On