Skip to content

Instantly share code, notes, and snippets.

@enzerus
Created March 16, 2016 19:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enzerus/fdec81cfd6b055252358 to your computer and use it in GitHub Desktop.
Save enzerus/fdec81cfd6b055252358 to your computer and use it in GitHub Desktop.
あああ',(select id from users order by desc limit 0,1),'10.0.0.1','2015/11/27 15:00:00','2015/11/27 15:00:00'),('1
このようにすると
insert loginlog (ua,user_id,ip,update_date,date)
VALUES('あああ',(select id from users order by desc limit 0,1),concat('10.0.0.',(select id from users order by desc limit 0,1)),'2015/11/27 15:00:00','2015/11/27 15:00:00'),
('1','user_id','ip','update_date','date');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment