Tables:
Query:
select Activity from FRIENDS group by Activity having count(Activity) <> (select max(count) from (select count(*) as count from FRIENDS group by Activity) as s) and count(Activity) <> (select min(count) from (select count(*) as count from FRIENDS group by Activity) as s);
output:
Note: If you have any questions or queries comment below Thank you.
MySQL Data Science (EPH 2019-2020) to test end 02 Anterrupted Senaye Myers Activity Query Ashley's father...