### Database Schema:
CREATE TABLE Employees (
	EmployeeID	INTEGER	NOT NULL	PRIMARY KEY,
	FirstName	TEXT	NOT NULL,
	MiddleInitial	TEXT	NULL,
	LastName	TEXT	NOT NULL
);

CREATE TABLE Sales (
	SalesID	INTEGER	NOT NULL	PRIMARY KEY,
	SalesPersonID	INTEGER	NOT NULL,
	CustomerID	INTEGER	NOT NULL,
	ProductID	INTEGER	NOT NULL,
	Quantity	INTEGER	NOT NULL,
	foreign key (CustomerID) references Customers (CustomerID),
	foreign key (ProductID) references Products (ProductID),
	foreign key (SalesPersonID) references Employees (EmployeeID)
);

CREATE TABLE Customers (
	CustomerID	INTEGER	NOT NULL	PRIMARY KEY,
	FirstName	TEXT	NOT NULL,
	MiddleInitial	TEXT	NULL,
	LastName	TEXT	NOT NULL
);

CREATE TABLE Products (
	ProductID	INTEGER	NOT NULL	PRIMARY KEY,
	Name	TEXT	NOT NULL,
	Price	REAL	NULL
);

### User's Query:
List the sales ID of the product with a quantity of 590 and named "External Lock Washer 7".

### Extra Knowledge:
External Lock Washer 7' is name of product;
SELECT T1.SalesID FROM Sales AS T1 INNER JOIN Products AS T2 ON T1.ProductID = T2.ProductID WHERE T2.Name = 'External Lock Washer 7' AND T1.Quantity = 590