Count and Where in the same clause
Im not sure how i can make this query work but basically I have:
SELECT COUNT (*) FROM student WHERE vivadue < CURDATE()
So i want to count the number of rows in the tables where the date in vivadate is less than todays date.