SELECT wp_posts.*
FROM wp_posts
WHERE 1=1 AND wp_posts.post_name = 'regional-consultation-development-energy-conservation-building-code-%25e2%2580%2593-residential-0' AND wp_posts.post_type = 'attachment'
ORDER BY wp_posts.menu_order, wp_posts.post_date DESC