Fix: Need to specify table name for subquery reference
This commit is contained in:
parent
94058435a3
commit
dcf2de3463
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ WHERE
|
||||||
SELECT
|
SELECT
|
||||||
finished_at
|
finished_at
|
||||||
, (SELECT name FROM job_statuses WHERE id = j.status_id) AS `status`
|
, (SELECT name FROM job_statuses WHERE id = j.status_id) AS `status`
|
||||||
FROM jobs
|
FROM jobs j
|
||||||
WHERE
|
WHERE
|
||||||
file_id = :fid
|
file_id = :fid
|
||||||
AND uid = :uid
|
AND uid = :uid
|
||||||
|
|
Loading…
Reference in a new issue