Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Fetching first 5 values against every value in another column in another table
Post: RE: Fetching first 5 values against every value in...

skunkbad Wrote: (07-26-2017, 05:30 PM) -- You answer may be using a combination of GROUP_CONCAT and FIND_IN_SET: https://stackoverflow.com/questions/2129693/using-limit-within-group-by-to-get-n-re...
6,657 Views
4 Replies
07-26-2017, 09:48 PM
anirudh88a
    Thread: Fetching first 5 values against every value in another column in another table
Post: Fetching first 5 values against every value in ano...

Hi guys, hope this is the right section for this question. I have 2 tables, topics (topic_id - pk) and comments (comment_id - pk, topic_id - fk). For all the topics, I want to get first 5 comment IDs...
6,657 Views
4 Replies
07-26-2017, 05:49 AM
anirudh88a
    Thread: SOLVED: Query builder join count results
Post: RE: SOLVED: Query builder join count results

Thanks guys..was getting stuck in a similar issue myself. Your little conversation helped me out :)
4,048 Views
4 Replies
07-26-2017, 05:28 AM
anirudh88a

Theme © iAndrew 2016 - Forum software by © MyBB