hello, how are you, i have an idea and want to apply it.
i have two tables the first one is called topics and the second is sections
these sections contains these columns
sections: section_name | sec_id
topics: topic_name | topic_id
and i want to select every section with their topics for instance
from section:news
topic1
topic2
topic3
topic4
topic5
from section:sport
topic1
topic2
topic3
topic4
topic5
of course sec_id and topic_id has the same id.i have tried to do it by left join but the section name is loopin with every topic i do not want by this way i want just the setion name once with their topics
this is exactly about what i want : http://www.elnashra.com/