The use of LAST_VALUE() AND FIRST_VALUE() with an example
Answer / kivi
they are the analytic functions used get the first and last value from a group..
check the below link for more details
http://etltechsolutions.wordpress.com/2014/10/12/last_value-and-first_value-best-example/
| Is This Answer Correct ? | 0 Yes | 0 No |
Define data, entity, domain and referential integrity?
Can A column defined as PRIMARY KEY can have NULL values ?
How to disconnect the user connection?
What is rdbms and also explain its components?
What is Two-Phase Commit ?
What is rdms?
How can we tune if buffer busy wait issue comes in oracle?
What is the purpose of database?
Is excel a database?
How to detect applications and users that hold transactions open too long?
Explain issues for database performance.
Can group by and ordered by used in a single query?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)