Last active
August 29, 2015 14:05
-
-
Save mofas/3a89072f17664d92d1ae to your computer and use it in GitHub Desktop.
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
INSERT INTO app (appID, appType, partnerID) SELECT distinct(appID), appType, partnerID FROM performance WHERE appID IN( SELECT distinct(appID) FROM performance AS ip WHERE date='2014-08-13' AND NOT EXISTS (SELECT appID FROM app AS ia WHERE ip.appID = ia.appID) AND ip.appID IS NOT NULL AND ip.appID != '') LIMIT 1000; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment