Advertisement
ran5000

Untitled

Sep 25th, 2012
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.18 KB | None | 0 0
  1. create table `active_personas` (`persona_id` int(11) NOT NULL);
  2. insert into active_personas (`persona_id`)
  3. select persona_id
  4. from users where id in (select user_id from active_users)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement