SQL Inventory

List of all SQL mentioned in the code..

ValueCountFile:Line
"SELECT DATE_FORMAT(comment_date,%s) AS comment_date2, COUNT(*) AS count" " FROM {$wpdb->comments} " " WHERE comment_date BETWEEN %s AND %s " " AND comment_type != 'pingback' " " AND comment_approved = 1 " " GROUP BY comment_date2;"
1
  • /modules/DS_WP_Reports_Comments.php
"SELECT DATE_FORMAT(post_date,%s) AS post_date2, COUNT(*) AS count" " FROM {$wpdb->posts} " " WHERE post_date BETWEEN %s AND %s " " AND post_status = 'publish' " " AND post_type = 'post' " " GROUP BY post_date2;"
1
  • /modules/DS_WP_Reports_Posts.php