Javatpoint Logo
Javatpoint Logo

SQLite MIN Function

SQLite MIN function is used to fetch the minimum value of an expression.

Syntax:

Syntax when you use Min function with GROUP BY clause:

Example1:

We have a table named "STUDENT", having the following data:

Sqlite Min function 1

Retrieve the lowest fees of the student from the "STUDENT" table:

Output:

Sqlite Min function 2

Example2:

Using GROUP BY clause with MIN function:

Retrieve NAME and MIN FEES from the table "STUDENT" and ORDER BY the data by NAME:

Output:

Sqlite Min function 3
Next TopicSQLite Max





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA