Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
こんにちは、動作する次のMysqlコードを持っていますが、より良い、より短く、より効率的な方法があるかどうか疑問に思っていましたか?
select images.*, posts.* from mjbox_images AS images, mjbox_posts AS posts where images.post_id = 3 AND posts.post_id = 3
SELECT * FROM mjbox_images JOIN mjbox_posts USING (post_id) WHERE post_id = 3