Good day.
SELECT * FROM banners WHERE seet='$seet'
Structure table banners
here https://i.stack.imgur.com/KR6Xu.png
Tell me please how get random one row from table?
Good day.
SELECT * FROM banners WHERE seet='$seet'
Structure table banners
here https://i.stack.imgur.com/KR6Xu.png
Tell me please how get random one row from table?
SELECT TOP 1 * FROM [TableName] ORDER BY NEWID()
This assigns a GUID to each row, and will return a random record based on the TOP 1 and ORDER BY combined.