創建查詢來獲取我的貨在我的數據庫如下圖所示 SELECT
Goods.GoodsID ,Max(Price)
ExistNumber AS ExistNumber ,
(SELECT p.ValueText
FROM STR.GoodsProperties gp
INNER JOIN PRP.Properties p ON p.PropertyID
在MYSQL中練習時遇到了一些麻煩。 有兩個表: 表Employees: ID Name InstitutionID
1 Tom 1
2 Bert 1
3 Steve 2
4 Marcus 3
5 Justin 1
表Institutions: InsID InstitutionName Location
1 Storage London