조인 = 테이블 + 테이블 합치기
SELECT *
FROM Customer,Orders
WHERE Customer.custid = Orders.custid
Order by Customer.custid;
Select name,SUM(saleprice)
From Customer,Orders
WHERE Customer.custid = Orders.custid
Group by Customer.name
Order by Customer.name;
Group by xxx 얘네끼리 묶어서 정령
Order by 정렬하기
SELECT Customer.name,Book.bookname
FROM Customer,Orders,Book
WHERE Customer.custid = Orders.custid
AND Orders.bookid = Book.bookid;