Guest User

Untitled

a guest
Dec 4th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. ith psycopg2.connect(dbname='', user='', password='', host='', port='', sslmode='') as conn:
  2. with conn.cursor() as cursor:
  3. cursor.execute("SELECT * FROM pfr WHERE xml_data LIKE '%+79169522420%'")
  4.  
  5. record = cursor.fethall()
  6.  
  7. for row in cursor:
  8. print(row)
Add Comment
Please, Sign In to add comment