I have the following tables which are represented in form of schema :
Customer (cid, cname, mobile, address, gender, email)
Orders (order_no, company_name, order_date, cid, item_id, quantity)
Items (item_id, item_name, unit_price)
E_company (company_name, address, mobile)
Shipping (sid, cid, company_name, order_no, ship_date)
The problem is I don't know how can I search data from multiple tables and represent it in my software interface. Although I can represent it but I can't retrieve the data from the tables. So, here are the required data i needed to fetch.
- I have to fetch details of a customer along with items ordered by that customer.
- The shipping details of the particular order of customer named ‘X’
- The total order amount on ’a random date here’ for customer ‘X’
Thanks