mysql> Select Emp_B AS Total
-> From (Select Sum(mines.NoOfWorkers) AS Emp_B from mines);
ERROR 1248 (42000): Every derived table must have its own alias
mysql> Select Emp_B AS Total
-> From (Select Sum(mines.NoOfWorkers) from mines) AS Emp_B;
ERROR 1054 (42S22): Unknown column 'Emp_B' in 'field list'
この SQL ステートメントに問題があります。どんな援助でも大歓迎です