The Ice Cream Shop 2

Retrieve data from Database (1:N:N relationship)

Order#NameAddressCredit CardFlavorsToppings
1sam sultan123 main streetvisa vanilla hotFudge
1sam sultan123 main streetvisa chocolate hotFudge
1sam sultan123 main streetvisa strawberry hotFudge
1sam sultan123 main streetvisa vanilla sprinkles
1sam sultan123 main streetvisa chocolate sprinkles
1sam sultan123 main streetvisa strawberry sprinkles
2Sam Sultan123 main blvd
new york, new york
amex strawberry sprinkles
2Sam Sultan123 main blvd
new york, new york
amex butter-pecan sprinkles
2Sam Sultan123 main blvd
new york, new york
amex strawberry nuts
2Sam Sultan123 main blvd
new york, new york
amex butter-pecan nuts
3Sam Sultan54321 some street
Some Town, NY 12345
visa vanilla hotFudge
3Sam Sultan54321 some street
Some Town, NY 12345
visa chocolate hotFudge
3Sam Sultan54321 some street
Some Town, NY 12345
visa vanilla sprinkles
3Sam Sultan54321 some street
Some Town, NY 12345
visa chocolate sprinkles
3Sam Sultan54321 some street
Some Town, NY 12345
visa vanilla nuts
3Sam Sultan54321 some street
Some Town, NY 12345
visa chocolate nuts
5Sam Sultan123 main street
12/10/12
visa vanilla hotFudge
5Sam Sultan123 main street
12/10/12
visa chocolate hotFudge
5Sam Sultan123 main street
12/10/12
visa strawberry hotFudge
5Sam Sultan123 main street
12/10/12
visa vanilla sprinkles
5Sam Sultan123 main street
12/10/12
visa chocolate sprinkles
5Sam Sultan123 main street
12/10/12
visa strawberry sprinkles
12Saamahn Mahjouri16392 Ringer Roadmaster-card vanilla hotFudge
13hugh beardtesting 123visa vanilla hotFudge
18sam sultan123 main street
2014-07-19
amex vanilla hotFudge
18sam sultan123 main street
2014-07-19
amex chocolate hotFudge
18sam sultan123 main street
2014-07-19
amex strawberry hotFudge
18sam sultan123 main street
2014-07-19
amex vanilla nuts
18sam sultan123 main street
2014-07-19
amex chocolate nuts
18sam sultan123 main street
2014-07-19
amex strawberry nuts
21YANG CHENA good addressvisa chocolate hotFudge
22Yifei Han145master-card vanilla hotFudge
22Yifei Han145master-card strawberry hotFudge
23ying lian888visa strawberry hotFudge
23ying lian888visa butter-pecan hotFudge
2524Sam Sultan123 Main Streetvisa vanilla hotFudge
2524Sam Sultan123 Main Streetvisa chocolate hotFudge
2524Sam Sultan123 Main Streetvisa strawberry hotFudge
2524Sam Sultan123 Main Streetvisa vanilla sprinkles
2524Sam Sultan123 Main Streetvisa chocolate sprinkles
2524Sam Sultan123 Main Streetvisa strawberry sprinkles
2525Sam Sultan123 Main Streetmaster-card vanilla nuts
2525Sam Sultan123 Main Streetmaster-card butter-pecan nuts
2525Sam Sultan123 Main Streetmaster-card vanilla whippedCream
2525Sam Sultan123 Main Streetmaster-card butter-pecan whippedCream
2526Sam SultanAAA street
New York
visa vanilla hotFudge
2526Sam SultanAAA street
New York
visa chocolate hotFudge
2526Sam SultanAAA street
New York
visa strawberry hotFudge
2526Sam SultanAAA street
New York
visa vanilla sprinkles
2526Sam SultanAAA street
New York
visa chocolate sprinkles
2526Sam SultanAAA street
New York
visa strawberry sprinkles
2527Sam Sultan111 main streetvisa vanilla hotFudge
2527Sam Sultan111 main streetvisa chocolate hotFudge
2527Sam Sultan111 main streetvisa strawberry hotFudge
2527Sam Sultan111 main streetvisa vanilla sprinkles
2527Sam Sultan111 main streetvisa chocolate sprinkles
2527Sam Sultan111 main streetvisa strawberry sprinkles
2528Sam Sultan123 Main Streetamex rocky-road hotFudge
2528Sam Sultan123 Main Streetamex french-vanilla hotFudge
2528Sam Sultan123 Main Streetamex pistachio hotFudge
2528Sam Sultan123 Main Streetamex rocky-road nuts
2528Sam Sultan123 Main Streetamex french-vanilla nuts
2528Sam Sultan123 Main Streetamex pistachio nuts
2529Sam Sultan123 Main Streetvisa vanilla hotFudge
2530Sam Sultan123 Main Streetvisa vanilla hotFudge
2531Sam Sultan123 Main Streetvisa vanilla hotFudge
2531Sam Sultan123 Main Streetvisa chocolate hotFudge
2531Sam Sultan123 Main Streetvisa strawberry hotFudge
2531Sam Sultan123 Main Streetvisa vanilla sprinkles
2531Sam Sultan123 Main Streetvisa chocolate sprinkles
2531Sam Sultan123 Main Streetvisa strawberry sprinkles
2532Sam Sultan123 Main Streetvisa chocolate hotFudge
2533Sam Sultan123 Main Streetvisa vanilla hotFudge
2533Sam Sultan123 Main Streetvisa chocolate hotFudge
2534Sam Sultan123 Main Streetvisa vanilla hotFudge
2534Sam Sultan123 Main Streetvisa chocolate hotFudge
2535Sam Sultan1234 Main Streetvisa vanilla hotFudge
2535Sam Sultan1234 Main Streetvisa chocolate hotFudge
2536Sam Sultan1234 Main Streetvisa vanilla hotFudge
2536Sam Sultan1234 Main Streetvisa butter-pecan hotFudge
2536Sam Sultan1234 Main Streetvisa rocky-road hotFudge
2537Sam Sultan1234 Main Streetamex vanilla hotFudge
2538Samuel Sultan123-456 Main Streetvisa vanilla hotFudge
2538Samuel Sultan123-456 Main Streetvisa chocolate hotFudge
2538Samuel Sultan123-456 Main Streetvisa strawberry hotFudge
2548Samuel Sultan1234 Main Streetvisa vanilla hotFudge
2548Samuel Sultan1234 Main Streetvisa chocolate hotFudge
2548Samuel Sultan1234 Main Streetvisa strawberry hotFudge
2548Samuel Sultan1234 Main Streetvisa vanilla sprinkles
2548Samuel Sultan1234 Main Streetvisa chocolate sprinkles
2548Samuel Sultan1234 Main Streetvisa strawberry sprinkles
2560Samuel Sultan1234 Main Streetvisa vanilla hotFudge
2560Samuel Sultan1234 Main Streetvisa chocolate hotFudge
2560Samuel Sultan1234 Main Streetvisa strawberry hotFudge
2560Samuel Sultan1234 Main Streetvisa vanilla sprinkles
2560Samuel Sultan1234 Main Streetvisa chocolate sprinkles
2560Samuel Sultan1234 Main Streetvisa strawberry sprinkles
2566Sam Sultan1234 Main Streetvisa Vanilla Hot Fudge
2566Sam Sultan1234 Main Streetvisa Chocolate Hot Fudge
2566Sam Sultan1234 Main Streetvisa Strawberry Hot Fudge
2566Sam Sultan1234 Main Streetvisa Rocky Road Hot Fudge
2566Sam Sultan1234 Main Streetvisa French Vanilla Hot Fudge
2566Sam Sultan1234 Main Streetvisa Vanilla Sprinkles
2566Sam Sultan1234 Main Streetvisa Chocolate Sprinkles
2566Sam Sultan1234 Main Streetvisa Strawberry Sprinkles
2566Sam Sultan1234 Main Streetvisa Rocky Road Sprinkles
2566Sam Sultan1234 Main Streetvisa French Vanilla Sprinkles
2567Sam Sultan1234 Main Streetvisa Butter Pecan Hot Fudge
2567Sam Sultan1234 Main Streetvisa Rocky Road Hot Fudge
2567Sam Sultan1234 Main Streetvisa French vanilla Hot Fudge
2568Sam Sultan1234 Main Streetmaster-card Chocolate Hot Fudge
2568Sam Sultan1234 Main Streetmaster-card Chocolate Chip Hot Fudge
2571di gou123mainstvisa Vanilla Hot Fudge
2571di gou123mainstvisa Butter Pecan Hot Fudge
2571di gou123mainstvisa Pistachio Hot Fudge
2571di gou123mainstvisa Vanilla Whipped Cream
2571di gou123mainstvisa Butter Pecan Whipped Cream
2571di gou123mainstvisa Pistachio Whipped Cream
2573frank zhang2222visa Vanilla Hot Fudge
2574Sam Sultan1234 Main Streetvisa Vanilla Sprinkles
2577Zac Efron123 Hollywood Laneamex vanilla sprinkles
2577Zac Efron123 Hollywood Laneamex vanilla whippedCream
2578h abmaster-card chocolate hotFudge
Click to see the [code]