Look at ec_items table. The ecommerce doc at your-ecommerce-instance/doc/ecommerce-technical has information about the order states from ec_orders, which are linked.
cheers,
Torben