Results 1 to 2 of 2

Thread: help with like query

  1. #1
    Join Date
    Mar 2007
    Posts
    79
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question help with like query

    hi, i want to select all the words from a table which begin and end witht he same alphabet
    eg: i want all words starting with s and ending with a.
    like samantha,sara,shilpa, etc.
    can someone pls help me with the query.
    thnks in advance..
    suk

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    Try this one
    Code:
    SELECT words FROM wordstable WHERE words LIKE 's%a';
    Note that the table and field name is just for an example.

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
  •