我也不完全是我想要的。
我想为我的数据库创建一个事务视图,输出将是:
交易表
[
SELECT
customer.CustomerName,
transactions.TransactionID,
transactions.Date,
transactions.Type,
transactions.Method,
product.ProductName,
product.Quantity,
product.Price,
employee.EmployeeName
FROM
customer,
transactions,
product,
employee
WHERE
customer.CustomerID = transactions.TransactionID