No,
SELECT * FROM [SlideShowTable]
where startdate <= system.date.now AND enddate >=system.date.now
ORDER BY rnd (INT(NOW*ImageID)-NOW*ImageID)
the select Query syntax is look like this
SELECT COLUMNS
FROM TABLENAME
WHERE CONDITIONS
GROUP BY FIELDS
HAVING CLAUSE
ORDER BY COL ASC/DESC
If you want more information regarding this please refer this link..
http://beginner-sql-tutorial.com/sql-select-statement.htm[
^]