{"mysql":"\n\t\tSELECT *\n\t\tFROM wp_posts\n\t\tWHERE post_parent = 57\n\t\tAND post_type = 'revision'\n\t\tAND post_status = 'inherit'\n\t\tAND post_name   = '57-autosave-v1' \n\t\tORDER BY post_date DESC\n\t\tLIMIT 1","postgresql":"SELECT *\n\t\tFROM wp_posts\n\t\tWHERE post_parent = 57\n\t\tAND post_type = 'revision'\n\t\tAND post_status = 'inherit'\n\t\tAND post_name   = '57-autosave-v1' \n\t\tORDER BY EXTRACT(YEAR FROM post_date) DESC, EXTRACT(MONTH FROM post_date) DESC\n\t\tLIMIT 1"}