Closed Thread
Results 1 to 5 of 5

Thread: MySQL query

  1. #1
    Pro Member razor is an unknown quantity at this point
    Join Date
    Oct 2000
    Location
    BFE, Pennsylvania
    Posts
    272
    i need info on other querying functions (ex LIKE) and the syntax with using each.

  2. #2
    SELECT * FROM table WHERE name like 'b%'

    This will echo all results where the field called name that begins with the letter b.

  3. #3
    Junior Member john is an unknown quantity at this point
    Join Date
    Oct 2000
    Posts
    12
    if you want to limit the amount of results then add LIMIT 0,20 to the end.. this limits it to 20 results

  4. #4
    Senior Member jvv is an unknown quantity at this point
    Join Date
    Oct 2000
    Location
    Antwerp, Belgium.
    Posts
    191
    I think the best you can do is get a book about SQL and read it there, it'll be more helpfull to you.
    I recommend:

    Teach Yourself SQL in 24 Hours
    by Stephens and Plew.
    Published by sams.

    Altho it's not mySQL specific, you'll find it very helpfull.
    "Don't go knocking on death's door, ring the doorbell and run away, that really makes Death angry"

  5. #5
    Junior Member perlboy is an unknown quantity at this point
    Join Date
    Nov 2000
    Location
    Gladstone, QLD, Australia
    Posts
    15
    --------
    Perlboy.org - Professional Perl programming
    --------

Closed Thread

Bookmarks

Posting Permissions

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