13 lines
193 B
SQL
13 lines
193 B
SQL
SET search_path TO qa_demo;
|
|
|
|
SELECT
|
|
t.id AS ticket_id,
|
|
a.email,
|
|
t.title,
|
|
t.status,
|
|
t.amount_cents,
|
|
t.created_at
|
|
FROM tickets t
|
|
JOIN accounts a ON a.id = t.account_id
|
|
ORDER BY t.id;
|