Donate

SQL Retrieve Or Count Record On A Previous Date In MySQL

Here's a simple demonstration of sql in MySQL where you can retrieve a record from a previous date.
  select sum(data_gathered) as data_gatherer,   
      name from tblctivity  
       where name like '%prgGatherer1.xml%'  
         and (date(rec_date) = (CURDATE() - 1));

Comments

Donate

Popular Posts From This Blog

WPF CRUD Application Using DataGrid, MVVM Pattern, Entity Framework, And C#.NET

Remove Cookies From CookieContainer Class

How To Test Or Check Dead Pixels And Backlight Bleed On Your Monitor Using Dead Pixel Checker In Windows 11