I want to be able to return 5 menuitem per menu. Here are the tables
menus ------- menuid int() profileName varchar(35) menuitems ----------- itemid int() name varchar(40) menuid int()
I do see a solution for MySQL in this thread - mySQL Returning the top 5 of each category, looking for similar solution for DB2. Any suggestion is great appreciated.