I have two tables Orders table and customers table, both have customerid as common field,
customer table have firstname, lastname, phone and email address fields.
Now if I have to search/select the orders according to customer firstname and/or lastname and/or phone and/or email and/or orderid, then what should be the mysql format of join query?
Additional question related to above
I have to use a single text box to use for search by order id or first name or last name or phone or email address, how can i Identify the input value to be related to required fields, if u have the idea to make it happen plss guide me...