What the average 2002 value Sunflower, which had had a 2010 value less 5587 and a 2007 value more greater 546?
Production year 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011
Agriculture in Romania
12459580
text real real real real real real real real real real real
2-12459580-1
Romanian agricultural research
Wheat 7735 4421 2479 7812 7340 5526 3044 7181 5202 5587 7192
Potatoes 3997 4077 3947 4230 3738 4015 3712 3649 4004 3258 4113
Sunflower 823 1002 1506 1557 1340 1526 546 1169 1098 1264 1864
Tomatoes 651 658 818 805 379 571 407 536 470 414 560
Apples 507 491 811 1097 611 579 472 455 513 543 624
SELECT AVG 2002 FROM table WHERE 2010 < 5587 AND Production year = sunflower AND 2007 > 546
5587 sunflower 546