SELECT ALL => MySQL Database

/ Published in: MySQL
Save to your folder(s)

Use this to select all fields between two different dates

Copy this code and paste it in your HTML
  1. FROM 'table_name'
  2. WHERE year ('date_field')
  3. BETWEEN 2005
  4. AND 2010
  6. To delete all entries use this query
  8. FROM 'table_name'
  9. WHERE year ('date_field')
  10. BETWEEN 2005
  11. AND 2010

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.