Unanswered: executing a select on two tables and getting the updated only
I have two identical tables called first and second. Each of them has the following columns:
id primary key,
The first table contains fresh rows from the current day and the second contains all rows from
the life cycle of the application.
I want to execute a query to fetch rows from the second table which contains all the rows,
but if there are newer rows in the first table, I want to get them instead. Also, new rows that appear
in the first table and not in the second should be fetched.
Anyone has an idea how to solve it?
Thanks a lot!
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Good judgement comes from experience. Experience comes from bad judgement.