SQL Basic
SQL Advanced
SQL Functions
| SQL first() |
The FIRST() FunctionThe FIRST() function returns the first value of the selected column. SQL FIRST() Syntax
SQL FIRST() ExampleWe have the following "Orders" table:
Now we want to find the first value of the "OrderPrice" column. We use the following SQL statement:
The result-set will look like this:
|
SQL first()
Tip: Workaround if FIRST() function is not supported: