Q
从两个表
1
A
回答
8
select max(maxId) from
(
select max(id) as maxId from delT1
union all
select max(id) as maxId from t1
) maxes;
0
select mymax =
case
when MAX(id1) > MAX(id2) then MAX(id1)
when MAX(id2) > MAX(id1) then MAX(id2)
end
from table1,table2
相关问题
- 1. 从两个表
- 2. 从两个表
- 3. 从两个表
- 4. 从两个表
- 5. 从两个表
- 6. 从两个表
- 7. 从两个表
- 8. 从两个表
- 9. 从两个表
- 10. 从两个表
- 11. SQL从两个表
- 12. 从两个MySQL表
- 13. 从两个列表
- 14. 从两个MySQL表
- 15. 从两个列表
- 16. 从两个MySQL表
- 17. mysql |从两个表
- 18. 加入两个表从第二个表
- 19. 两个表中从第二个表
- 20. 从两个表中选择一个表
- 21. 从一个表格连接两个表
- 22. Mysql请求。从两个表
- 23. 从两个表查询
- 24. 从两个表中的SQLite
- 25. PHP如何从两个表
- 26. 从两个表中的SQL
- 27. 无法从两个表
- 28. 无法从两个表
- 29. 合并,并从两个表
- 30. 笨如何从两个表
什么格式???? – sanu 2011-05-30 17:40:22