MySQL Group Count

By , February 25, 2012 9:58 AM

SELECT
table1.AppointmentDate,
Count(table1.IDfield)
FROM
table1
WHERE
table1.seen = ’1′ AND
table1.AppointmentDate >= ’2007-12-01′ AND
table1.AppointmentDate GROUP BY
table1.AppointmentDate

DELETE QUERY WITH 2 TABLES

By , February 8, 2012 10:57 PM

MYSQL DELETE QUERY OVER MULTIPLE TABLES

 

DELETE calllog
FROM calllog
JOIN locum ON calllog.LocumID = locum.LocumID
WHERE locum.LastName = “ANAME”

After Hours Doctors After Hours Doctors