Python Match Case Substring Method Sql W3schools