I posted another question which was resolved perfectly however I now need to apply the same code I was given to a different piece of MySQL code.
What I have is
SELECT value, COUNT(*) AS 'num'
FROM table_c
WHERE table_c_id IN (9, 17, 25)
GROUP BY value
What I would like to do now is only show the results if they have been entered on the current date?
The current code snippet I have for checking the current date, which works great is (the date is in unixtime format)
( xxxxxxxxxxxxxx and curdate() = date( from_unixtime( b.crm_date_time_column ) ) )
The problem I have with query this is the date column is located in a totally different table, table_a.
How do I write the MySQL to check table_a for the date and apply the existing date SQL I have?
This is a MySQL database.
Any help will be gratefully received! This is way over my head!