Hello!
I want to implement computed column based on a row id.
Example:
ALTER TABLE table1ADD avg_price DOUBLE AS (SELECT AVG(price)
FROM goods
WHERE id = ?);
1. Is it possible with H2?
2. If possible, how to update result when second table changed.
Thanks!
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.