I have multiple tables containing the same columns. i want to build an aggregated table containing the data from all these tables. I'm wondering if materialized view can do this. If so, what's the query like? I have no problem getting and filtering data from one table, but I have no idea if it's possible to do it with multiple tables
the structure of my db currently looks like this
db
|
| - table1
| - table2
| - table3
and I'm trying to get data from all of them and put into a view (and update when content in table# changes)
Is there a way to do this?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.