Variable Visions

Articles MySQL How-to-execute-a-random-SQL-query-


tutorials - MySQL and Web-Development.

How to execute a random SQL query

Published Sun. Sep. 16, 2012


SELECT * FROM `tablename` ORDER BY RAND()

rather than...ORDER BY updatedfieldname DESC


Tag(s): ordery by, rand()



RECENT ARTICLES:

PUBLISHED ON 03.3.20arrowWordpress and Woocommerce widget for inserting PHP in Elementor

PUBLISHED ON 09.5.19arrowWordpress and Woocommerce redirect to a product page from categories with a single product

TAGS

CATEGORIES