11 lines
353 B
Python
11 lines
353 B
Python
from database import get_db_connection
|
|
|
|
conn = get_db_connection()
|
|
with conn.cursor() as cur:
|
|
cur.execute("SELECT outlet_name, popcorn_code, google_business_id FROM master_outlet WHERE google_business_id IS NOT NULL LIMIT 10;")
|
|
rows = cur.fetchall()
|
|
print("Outlets with Google Business ID:")
|
|
for r in rows:
|
|
print(r)
|
|
conn.close()
|