I still have no idea what exactly you are trying to do. I did notice you have no relationships established.
I recommend you build a model (tables and relationships) representing the "business" you are working with. It will make your coding and retrieval much more straightforward.
I see Customer, Quotes and Products. On that basis I suggest you look at this data model and see if it helps with your database.
http://www.databaseanswers.org/data_...ucts/index.htm You could replace Order and OrderItems with Quote/QuoteItems just to understand the model.
Good luck with your project