Search notes:

Oracle SQL: ANY_VALUE

The ANY_VALUE(…) «aggregate function» evaluates to the first non-null value encountered in a group of a select statement using the group by clause.
select
   grp_1,
   grp_2,
   max(val_1),
   ANY_VALUE(val_2)
from
   tab
group by
   grp_1,
   grp_2

See also

Aggregate functions

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1747797440, '3.16.44.204', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/SQL/select/aggregate/functions/any_value(48): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78