title: Retrieving data from wp_posts table in WordPress
body: <p>I am new to WordPress. I am creating admin panel like WordPress in codeigniter, so I need to understand database table relationships in WordPress. There is a database table wp_posts which is used to store posts and pages.<br>
  My question is what differentiate posts and pages  in  table.<br>
  Any help would be appreciated.<br>
  Thanks. </p>