Hi Drexor...
Here is the query that i tried in SQL query analyzer..
Code:
select t1.menudate,
t2.Itemname, t3.Typename
from cafemenu t1
INNER JOIN cafe t2 ON
t1.itemselected=t2.Itemnum
INNER JOIN foodtype t3 ON
t3.Typeid = t1.Menutypeid
WHERE
t1.Menudate BETWEEN '06/20/2004' AND '06/26/2004'
Order by t1.Menudate asc,
t1.Menutypeid asc,
t1.itemselected asc
Sample (dummy data)results:
2004-06-20 00:00:00Baked Potatoes w/Toppings Breakfast
2004-06-20 00:00:00Boiled Parsley Potato Lunch
2004-06-20 00:00:00Boiled Red Potatoes Specials
2004-06-20 00:00:00Cheese and Potato Pierogi Specials
2004-06-21 00:00:00Baked Potato Bar Breakfast
2004-06-21 00:00:00Healthy Choice TV Dinners Lunch
2004-06-21 00:00:00Soup of the Day Dinner
2004-06-21 00:00:00Taco and Burrito Bar Dinner
2004-06-22 00:00:00Carrots Breakfast
2004-06-22 00:00:00BBQ Chicken Pasta Breakfast
2004-06-22 00:00:00Biscuits Breakfast
2004-06-22 00:00:00Carrots Lunch
2004-06-22 00:00:00Cheesy Garlic Bread Lunch
2004-06-22 00:00:00Cream Turkey Lunch
2004-06-22 00:00:00Soup of the Day Dinner
2004-06-22 00:00:00Mashed Potatoes Dinner
2004-06-22 00:00:00Discount Salad Bar Specials
2004-06-23 00:00:00Beef/Bean Burrito Breakfast
2004-06-23 00:00:00Nacho Cheese Lunch
2004-06-23 00:00:00Deep Fried Fish Patty Dinner
2004-06-24 00:00:00Buffalo Chix Breakfast
2004-06-24 00:00:00Bruschetta Breakfast
2004-06-24 00:00:00Twice Baked Potato Lunch
2004-06-24 00:00:00Buffalo Chix Lunch
2004-06-24 00:00:00Corn Dinner
2004-06-25 00:00:00Bacon Cheddar Fries Breakfast
2004-06-25 00:00:00Bacon Cheddar Waffle Fries Lunch
2004-06-25 00:00:00Bacon TLC's Dinner
2004-06-26 00:00:00Zucchini Strips Specials
2004-06-26 00:00:00Veggie Garden Pasta Specials
As we can see they are ordered by date..
Thanks
-VJ