You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import psycopg2 as psyco
|
|
|
|
conn = psyco.connect(dbname="aact_db", user="root", host="localhost", password="root")
|
|
|
|
curse = conn.cursor()
|
|
|
|
curse.execute("SELECT * FROM ctgov.studies LIMIT 2;")
|
|
print(curse.fetchall())
|
|
|
|
curse.close()
|
|
conn.close() |