Spaces:
Running
Running
A newer version of the Gradio SDK is available:
6.1.0
Q&A Database Schema and Example
β 1. Create the Table
CREATE TABLE qa (
id SERIAL PRIMARY KEY,
question TEXT NOT NULL,
answer TEXT NOT NULL
);
INSERT INTO qa (question, answer) VALUES
('What are your hobbies ?', 'playing guitar');
SELECT * FROM qa;
---
### β
Save this as `qa.md`.
When viewed in a Markdown viewer, it will display nicely formatted code blocks and a table.
Would you like me to export this into an actual `.md` file for you?