Results 1 to 2 of 2

Thread: Not sure how to do this in SQL?

  1. #1
    Join Date
    Dec 2003
    Posts
    14

    Question Not sure how to do this in SQL?

    Hi All,

    if I have the following data in a table

    id rec_code desc
    1 24 LLLLLLLL
    2 32 LLLLLLLL
    3 32 SSSSSS
    4 95 SSSSSS
    5 98 LLLLLLLL
    6 98 SSSSSS
    7 98 OOOOOO
    8 210 OOOOOO

    how can I bring back the rec_code 98 in from an SQL query?

    Thanks for any help/suggestions!

    regards

    Davej

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    select * from yourtable where rec_code=98;

    you should see the tutorial at

    http://forums.databasejournal.com/forumdisplay.php?f=15

Posting Permissions

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