1

こんにちは、動作する次のMysqlコードを持っていますが、より良い、より短く、より効率的な方法があるかどうか疑問に思っていましたか?

select
images.*,
posts.*
from
mjbox_images AS images,
mjbox_posts AS posts
where
images.post_id = 3 AND posts.post_id = 3
4

1 に答える 1

3
SELECT * FROM mjbox_images JOIN mjbox_posts USING (post_id) WHERE post_id = 3
于 2012-06-05T15:27:39.010 に答える