For ALL gravity forms SELECT `guid`, `post_title` FROM `wp_posts` WHERE `post_content` LIKE '%[gravityform%' For gravity form by ID Replace <ID HERE> with the id number found in wp-admin SELECT `guid`, `post_title` FROM `wp_posts` WHERE `post_content` LIKE '%[gravityform id="<ID HERE>"%'