Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
再会。
SELECT * FROM banners WHERE seet='$seet'
结构表banners在这里http://i.stack.imgur.com/KR6Xu.png
banners
请告诉我如何从表中随机获取一行?
SELECT TOP 1 * FROM [TableName] ORDER BY NEWID()
这将为每一行分配一个 GUID,并将返回基于 TOP 1 和 ORDER BY 组合的随机记录。