Last active
December 15, 2015 17:49
-
-
Save dyng/5299251 to your computer and use it in GitHub Desktop.
Inner Join 中使用 AS 的例子
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 me.id, him.nickname, me.user_id, transaction_id, purchase_at FROM payment AS me INNER JOIN user AS him ON me.user_id = him.id WHERE him.nickname = 'tama'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment