Top 5

Results 1 to 2 of 2

Thread: Top 5

  1. #1
    Join Date
    Dec 1969

    Default Top 5

    "SELECT TOP 5 * FROM tbl"<BR>The abouve works with an access database but not my mySQL database anyone know why and another way to do the same thing Right now I&#039;m just using a counter in a loop to grab only 5 records but I&#039;d rather do something smiple like i use to beable with access

  2. #2
    Join Date
    Dec 1969

    Default select * from t order by c limit 5

    use limit (see the documentation at

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts