i need some help with is query.
SELECT * FROM pollquestions WHERE timeinserted=(select max(timeinserted) from pollquestions);
the inner query, select max(timeinserted) from pollquestions, works fine but gives an error when used with the outer query.
timeinserted is of type datetime.
SELECT * FROM pollquestions WHERE timeinserted=(select max(timeinserted) from pollquestions);
the inner query, select max(timeinserted) from pollquestions, works fine but gives an error when used with the outer query.
timeinserted is of type datetime.