Table - Contacts
Name Channel
Teejay Friends
John Colleagues
Rick Friends
Carl Business
Vulcan Business
Scott Office
Alex Friends
How do I out put records from this table, 'randomly'. Well, not exactly random
. I should be able to output the records wherein no records with the same Channel
be beside each other.
A record in the `Friends` Channel
A record in the `Colleagues` Channel
A record in the `Business` Channel
A record in the `Office` Channel
A record in the `Friends` Channel
A record in the `Business` Channel
A record in the `Friends` Channel
More Info:
Friend model, Colleague model, Business model, Office model are child models of Contact.