2 つのテーブルがあり、1 つは *parts_raised* で、もう 1 つは *parts_detail* です。
parts_raised:
SN(int),Job_Number(int),Category(varchar),Part_code(int),technician(varchar),Time (timestamp),
パーツ詳細:
Part_code(int),Value(int),Descriptions(text),
part_code は両方のテーブルで同じです。
ジョブの総数を達成するためのクエリと、技術者ごとの毎日の総コストをどのように作成できますか。
technician day1 day2
Total Jobs total cost Total Jobs total cost
Technician-1 4 153 5 253
Technician-2 7 352 2 256
どうすればこれを達成できますか、または同じ結果を得るための他の方法を提案できますか?