0

I have an encrypted column in the database table that include single and double quotes like this{`-"V'/L@AGL@AWEO)&:'/(<RALROEARA"X$R}

  encryptedaName=encrypt(pName)   
  print(encryptedaName)  
  q=f"select * from laptop where Name like '%{encryptedaName}%'" 

How can I write correct like statement to retrieve a string with single or double quotes?

Msama
  • 17
  • 3

0 Answers0