Created
April 2, 2012 13:48
-
-
Save williamjacksn/2283527 to your computer and use it in GitHub Desktop.
Rainwave SQL / Users
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 | |
user_id, | |
user_type, | |
username, | |
timestamp with time zone 'epoch' + user_regdate * interval '1 second' as registration_date, | |
timestamp with time zone 'epoch' + user_lastvisit * interval '1 second' as last_visit, | |
user_posts, | |
radio_inactive | |
from | |
phpbb_users | |
where | |
user_type in (0, 3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment