0
tag | date | $
1 | 112014 | 1.42
2 | 112014 | 2.53
1 | 112015 | 1.42
所需的輸出:SQL幫助 - 比較不同表中的值基於價值
col1 - tag
col2 - earliest date
col3 - later date
col4 - $
現在我想讓它顯示是這樣的:
1 | 112014 | 112015 | 1.42
想通過在查詢中要做到這一點MySQL的
請幫助!如果它可以檢查兩個表中的值 - 即檢查tbl2對tbl1的數據