Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT section.*
- FROM section
- INNER JOIN archive_to_section
- ON section.id = archive_to_section.section_id
- WHERE archive_to_section.archive_id = $this_archive_id
- SELECT s.*
- FROM section s INNER JOIN archive_to_section ats ON s.id = ats.section_id
- WHERE ats.archive_id = 1
- SELECT s.*
- FROM archive_to_section ats
- INNER JOIN section s ON s.id=ats.section_id
- WHERE ats.archive_id= @archiveID
Add Comment
Please, Sign In to add comment