Python String Mid Function Example In Sql