Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
sambrown180
Starting Member
38 Posts |
Posted - 2008-12-09 : 06:20:13
|
| I have a order, delivery and product table. please can some one tell me What sql coding should i use to make an invoice/receipt out of them for the customer? |
|
|
NeilG
Aged Yak Warrior
530 Posts |
Posted - 2008-12-09 : 06:24:55
|
| Can you post your table schema for us to look at |
 |
|
|
sambrown180
Starting Member
38 Posts |
Posted - 2008-12-09 : 06:40:01
|
| delivery table (delivery number, [Customer_ID],[Order_No],[Product_ID],[Delivery_Address_Line1],[Delivery_Address_Line2], Delivery_Postcode],[Delivery_Method],[Delivery_Date],[Delivery_Cost]product table (product id, [Product_Name][Product_Price][Product_Size][Product_Colour][Product_Availability]orderline table ([product_id], [product_name], [customer_id], [product_size], [product_colour], [product_price], [product_discount], [product_subtotal] |
 |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-12-09 : 06:51:38
|
Use INNER JOIN. E 12°55'05.63"N 56°04'39.26" |
 |
|
|
sambrown180
Starting Member
38 Posts |
Posted - 2008-12-09 : 07:36:01
|
| i have tried using the inner join coding but it doesn't seem to be working. What coding should i write down |
 |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-12-09 : 07:56:20
|
Please post the non-working query (the query you have tried). E 12°55'05.63"N 56°04'39.26" |
 |
|
|
|
|
|
|
|