How to get RANDOM User_names.
SELECT a.mod_name, u.user_name, a.id from type a, users u WHERE a.id=u.mod_type ORDER BY mod_type Desc ";
What about
EDIT:
select a.mod_name, u.user_name, a.id from type a, users u where a.id=u.mod_type order by mod_type DESC, rand();
?
You can use ORDER BY RAND() to do this:
ORDER BY RAND()
SELECT a.mod_name, u.user_name, a.id FROM type a, users u WHERE a.id=u.mod_type ORDER BY RAND()
Mysql supports the RAND() function
RAND()
select a.mod_name, u.user_name, a.id from type a, users u where a.id=u.mod_type order by RAND(),mod_type Desc ";
Source: https://habr.com/ru/post/1446864/More articles:fragmentation of the main memory of the operating system - memoryPlay Framework - How to inherit from a superclass? - javalayered graphs: plot plot and spaghetti plot - rDuplicate characters with header-only implementation - c ++php preg_match with email authentication question - phphttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1446865/ajaxbeginform-seems-to-redirect-action-completion&usg=ALkJrhhQfAN5m2PCySmLxTBJSBxYmBL1XQPHP analysis of xml file - phpSmoothing vector graphics inside pdf and extracting using java - javaPHP Optimization of a very long switch statement - optimizationFailed to parse git.exe version number - gitAll Articles