SQL Query WordPress Export Post

SELECT * 
FROM  `wp_posts` 
WHERE  `post_type` =  "post type name here"
Vast Vicuña