File size: 508 Bytes
00eef43
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Q&A Database Schema and Example

## ✅ 1. Create the Table

```sql

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?