I have the following two MySQL tables
TABLE TITLES
NAME_ID NAME
1 name1
2 name2
3 name3
TABLE OF CONDITION
STATUS_ID NAME_ID TIMESTAMP
1 1 2010-12-20 12:00
2 2 2010-12-20 10:00
3 3 2010-12-20 10:30
4 3 2010-12-20 14:00
I would like to select all the information from the TITLE table and add the last TIMESTAMP column from the STATUS table
RESULT
NAME_ID NAME TIMESTAMP
1 name1 2010-12-20 12:00
2 name2 2010-12-20 10:00
3 name3 2010-12-20 14:00
I am stuck on this. How do I leave a connection in a new timestamp only?
source
share