Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. select count(*) as totalRows from myTable;
  2.  
  3. select 'Name' as name, 'class' as class union
  4. select name, class from myTable limit 100000 offset $calculatedOffset
  5. into outfile ..... as per your requirement
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement