December 2003
Beginner
648 pages
14h 1m
English
Because the goal of this chapter is to provide the user with a way to select and order items, you can imagine what the tables will be—first and foremost, you need a cart table! In addition to the cart table, you'll need a table to store orders, along with one to store the items purchased as part of each order.
The following SQL statements were used to create the three new tables, starting with the store_shoppertrack table. This is the table used to hold items as users add them to their shopping cart.
The field lengths used to define these tables were chosen arbitrarily to accommodate several possible inputs. ... |
Read now
Unlock full access