Results 1 to 2 of 2

Thread: SQL Query

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 1999
    Location
    Troy, NY, USA
    Posts
    1

    Post


    Can anybody solve my problem
    here the table contents

    f1 f2 f3
    -----------
    1 2 4
    2 4 6
    3 5 7
    4 3 6

    i want all fields along with count of whose value > 2

    result should be

    f1 - 2 (it has only 2 numbers greater than 2)
    f2 - 3 (it has only 3 numbers greater than 2)
    f3 - 4 (it has only 4 numbers greater than 2)

    i'ld appreciate very much if anybody could help me
    thanks in advance.

  2. #2
    New Member
    Join Date
    Aug 1999
    Posts
    6

    Post

    ((Count(tblname.F1))>2)

Posting Permissions

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



Click Here to Expand Forum to Full Width