Last active
January 31, 2020 11:57
-
-
Save FatihGoktas/0a9dae309b56ad5f97ef903b206622ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
jl.*, jg.* | |
FROM | |
job.job_list AS jl | |
LEFT JOIN ( | |
SELECT | |
* | |
FROM | |
job.job_log | |
ORDER BY id DESC | |
LIMIT 1 | |
) AS jg ON (jg.job_id = jl.id); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment