Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ith psycopg2.connect(dbname='', user='', password='', host='', port='', sslmode='') as conn:
- with conn.cursor() as cursor:
- cursor.execute("SELECT * FROM pfr WHERE xml_data LIKE '%+79169522420%'")
- record = cursor.fethall()
- for row in cursor:
- print(row)
Add Comment
Please, Sign In to add comment