select * from table where date='2005-1-12'