Jump to content

[SOLVED] Random MySQL result and latest information inserted


Spike121

Recommended Posts

Okay, I know I already posted this in MySQL help, but there's no active users there, so I'm posting it here.

 

I need a MySQL code that selects a random result from a table.

 

select link
from table1

 

Would that select a random one, or the latest entry? If it wouldn't select a random result, what would? Also, what would select the latest one too? I need both if possible. Thanks in advance!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.