-3
我有兩個表(tbl_CUST,tbl_Total)如何將兩個表中的MySQL
tbl_CUST
Name Sex ProductName Price
Jonh M iPhone 6s $ 1200
Smith M iPhone 6 $ 900
Mary F Samsung S7 $ 800
tbl_total(只有一個記錄)
Total Date
$2,900 20-05-2016
This the result that I did. But I don't need like that:
Name Sex ProductName Price Total Date
Jonh M iPhone 6s $ 1,200 $2,900 20-05-2016
Smith M iPhone 6 $ 900
Mary F Samsung S7 $ 800
Now I need to combine table and show the result like that:
Name Sex ProductName Price Total Date
Jonh M iPhone 6s $ 1,200 $2,900 20-05-2016
Smith M iPhone 6 $ 900
Mary F Samsung S7 $ 800
So, What's can I do? Please help me! Thanks so much!
你。兩個輸出表看起來和我完全一樣,你想在這裏做什麼? –
我的問題是錯誤的。我需要什麼我需要在列總數和日期我只需要顯示一條記錄。 –