Hi. I have three tables with the following structure:
tb1: id(AI, PK), uid, date, text
tb2: id(AI, PK), uid, date, text ... and so on
I have to keep them separate because of additional unqiue data that each table has.
I'd like to execute a query that will merge and get me the last 20 entries (ie, date DESC
) (specifically, i need uid
and text
)
from all 3 tables combined (as if this was one big table).
How can I go about doing this?