6 lines
132 B
SQL
6 lines
132 B
SQL
|
|
SELECT id, created_at, message_type, sender_type, content
|
||
|
|
FROM messages
|
||
|
|
WHERE sender_type = 'ai'
|
||
|
|
ORDER BY created_at DESC
|
||
|
|
LIMIT 10;
|