Guest User

Untitled

a guest
Jul 16th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. select name, address, DATE(dateofbirth) from myfriends
  2.  
  3. select concat(dayofmonth(MyDateTime), month(MyDateTime), year(MyDateTime)) from MyTable;
  4.  
  5. SELECT DATE(col) AS col_date, TIME(col) AS col_time FROM table
Add Comment
Please, Sign In to add comment