Skip to content

Instantly share code, notes, and snippets.

@dyangrev
Created March 10, 2015 23:14
Show Gist options
  • Select an option

  • Save dyangrev/290ac21218a376aa5291 to your computer and use it in GitHub Desktop.

Select an option

Save dyangrev/290ac21218a376aa5291 to your computer and use it in GitHub Desktop.
mysql> select max(created_at) from PMSImportRecord where content like "%checkinDate\":\"____-__-__T__:__:__.000+00%";
+---------------------+
| max(created_at) |
+---------------------+
| 2015-02-23 20:42:35 |
+---------------------+
1 row in set (6.64 sec)
mysql> select max(created_at) from PMSImportRecord where content like "%checkoutDate\":\"____-__-__T__:__:__.000+00%";
+---------------------+
| max(created_at) |
+---------------------+
| 2015-02-23 20:42:35 |
+---------------------+
1 row in set (5.70 sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment