the question: there are two tables - DAYS(name), ACTIONS(day_name,name)
records for DAYS are:
Sunday, Monday, Wednesday
records for ACTIONS are:
{eat,sunday},
{sleep,sunday},
{write,sunday},
{drink,sunday}
{eat,wednesday},
{sleep,wednesday},
{write,wednesday},
{eat,monday},
{sleep,monday},
i want to search in ACTIONS for the days that have the highest number of curtain actions, and return the results ordered from the higher to the lower.
Meaning: if i search for "eat","sleep", "write", and "drink" - the results will be:
sunday, wednesday, monday.