Home > Database > Mysql Tutorial > 数据库获取随机记录_MySQL

数据库获取随机记录_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:29:18
Original
1031 people have browsed it

bitsCN.com


数据库获取随机记录

 

随机记录随机数

 

1. mysql :SELECT * FROM Member WHERE Country = "HK" ORDER BY RAND() limit 302. oracle : select id from tableName where rownum<100 order by dbms_random.value
Copy after login

 


bitsCN.com
Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template