import sqlite3

conn = sqlite3.connect("marketing_matrix.db")
c = conn.cursor()

print(f"{'V_ID':<5} | {'R_ID':<5} | {'SUBJECT':<30} | {'INTRO':<30}")
print("-" * 80)

for row in c.execute("SELECT * FROM text_blocks"):
    v_id, r_id, subj, intro, proof = row
    print(f"{v_id:<5} | {r_id:<5} | {subj:<30} | {intro:<30}")

conn.close()
