Advertisement
Guest User

Untitled

a guest
May 24th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. INSERT IGNORE INTO lts.lp_coupon (SELECT CONCAT('(',GROUP_CONCAT(COLUMN_NAME SEPARATOR ','),')') FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = 'tmp_YqVxTy7w' AND TABLE_NAME = 'lp_coupon' GROUP BY TABLE_NAME limit 1) select * from tmp_YqVxTy7w.lp_coupon;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement