PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my alerts
my settings
my profile
Don't like ads?
PRO users
don't see any ads ;-)
Public Pastes
Untitled
SQL | 9 sec ago
Untitled
12 sec ago
ver.ctp
PHP | 14 sec ago
Untitled
15 sec ago
Untitled
17 sec ago
Untitled
23 sec ago
Untitled
25 sec ago
Untitled
28 sec ago
Untitled
By: a guest on
Apr 25th, 2012
| syntax:
None
| size: 0.23 KB | hits: 12 | expires: Never
download
|
raw
|
embed
|
report abuse
|
print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
Mysql copy two columns from two tables
insert into users_role_map (email,id) select (email,roleId) from usert ;
Operand should contain 1 column(s)
INSERT INTO users_role_map (email, id)
SELECT email, roleId FROM usert ;
create a
new version
of this paste
RAW Paste Data
Mysql copy two columns from two tables insert into users_role_map (email,id) select (email,roleId) from usert ; Operand should contain 1 column(s) INSERT INTO users_role_map (email, id) SELECT email, roleId FROM usert ;