mirror of
https://github.com/Syfaro/fuzzysearch.git
synced 2024-11-10 17:02:38 +00:00
17 lines
311 B
SQL
17 lines
311 B
SQL
SELECT
|
|
submission.id,
|
|
submission.url,
|
|
submission.filename,
|
|
submission.file_id,
|
|
submission.rating,
|
|
submission.posted_at,
|
|
submission.hash_int hash,
|
|
artist.name artist
|
|
FROM
|
|
submission
|
|
LEFT JOIN artist ON artist.id = submission.artist_id
|
|
WHERE
|
|
file_id = $1
|
|
LIMIT
|
|
10;
|