Jump to content
php.lv forumi

Izvēlēties vislielāko skaitli ar query


Recommended Posts

Ir kāda iespēja izvēlēties vislielāko skaitli no tabulas? Manā gadījumā tas ir id. Es domāju apmēram kaut ko šādu:

 

mysql_query("SELECT id FROM table WHERE id='vislielākais vai kaut kā tā'");

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...