This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT a.uu_id, a.time as registerTime, a.activity as register, b.activity as buy | |
FROM (select * from tableA where dt="2013-05-17" and activity="register") a | |
JOIN (select * from tableB where dt="2013-05-17" and activity="buy") b | |
ON(a.uu_id = b.uu_id) limit 10; |
No comments:
Post a Comment