我是Python的新手,我想使用pythonspsycopg2api从postgreSQL数据库中选择一些数据。在
我选择的表在模式dl中(dl.产品),所以当我写代码时
Conn= psycopg2.connect(host="localhost",database="postgres",user="postgres", password="postgres")
Cur=conn.cursor()
Cur.execute("select * from dl.products")
它显示了误差关系dl.产品不存在。在
有人能给我举个例子吗?在
请尝试下面的代码
相关问题 更多 >
编程相关推荐