Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6085583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:39:17+00:00 2026-05-23T11:39:17+00:00

I have made a search but couldn’t find a solution which works for me.

  • 0

I have made a search but couldn’t find a solution which works for me.

I just wonder how Facebook or Linkedin manages to handle same type activity with one sentence?
I mean, if you store every activity with different IDs in an Activity Table, how can you list them as “Member_a and 15 more people changed their photos”

I’m trying to make a social activity wall for my web-site, it’s not that big but I just wanted to know the logic on this situation.

For example, when first page loads, I make an Ajax call and listing 0-10 records and if user scrolls down, page makes another ajax call which lists 11-20 records.

Now; if I try to combine same type of activity after sql select query with using if else, if this 10 records are the same, the user will only see 1 item. I hope I could explain what I want to say 🙂

So, I need a solution which makes this query in SQL Statement.

I’m not asking from you to write a query for me, I just want to know the logic.

Here is a screenshot what I want to achieve:

enter image description here

enter image description here

You see, they are actually different stored data but they combined it and made it as a 1 item network update.

By the way, I’m using C# and SQL Server 2008.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:39:18+00:00Added an answer on May 23, 2026 at 11:39 am

    for example:

    SELECT Min(b.MemberName), COUNT(*) as Total FROM Network_Feed a
    JOIN Member b on a.MemberID = b.MemberID
    WHERE a.FeedType = 1
    

    did I understand your question right?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have made a new windows service which works fine using barebone code (just
I have made the following search script but can only search one table column
I have been playing around a bit with a fairly simple, home-made search engine,
I have made some code which exports some details of a journal article to
I have made a class which a form can inherit from and it handles
I have a search textbox where upon a keypress an AJAX call is made
i have recently come to this error , i search a lot but i
Rebol 2 VID was hugely missing Dropdownlist and Treeview, I have made a search
I'm trying to use the search text box (which I made by following this
I have made a SVG image, or more like mini application, for viewing graphs

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.