title: How to list all rows from table and display specific column data from wordpress database
body: <p>I have table called wp_email_subscription and inside table I have rows of emails from subscribed users. Each row contains id, email, and name column. </p>
  
  <p>I have also created admin page for plugin where I would like to list all emails from subscribed table.</p>
  
  <p>Basically I don't know how to use wpdb functions, I have read wpdb instructions from wp website but I don't understand.</p>
  
  <p>what I need is to select all from wp_email_subscription and foreach row to display email and name column in list.</p>