View Single Post
Old 10-10-2011, 01:12 PM   #5
Noughty
Addict
Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.
 
Posts: 352
Karma: 103850
Join Date: Apr 2011
Device: Kindle NT
trying, tell me if something is wrong.

program:
list_union(
list_intersection(field('tags'), 'Historical, Fantasy, Sci-Fi, Contemporary, Military', ','),
list_intersection(field('#shelf'), 'Historical, Fantasy, Sci-Fi, Military', ','),
',')

This gives me result of only one genre. How to have multiple values in results? A book might be in military and historical. And the result should be Military, Historical, not just Military

I read about list functions but can't really figure it out .
Noughty is offline   Reply With Quote