Uploaded by chen ちん

SQL Practice

advertisement
SQL Practice
Ruthchen P. Lauriada ACT22C
1.SELECT Customerid , CustomerName FROM Customers order by
CustomerName DESC;
2.Select * from customers where not country = "Canada";
SQL Practice
3. SELECT * FROM products customers where price>=50;
4. SELECT Suppliername, Address from suppliers WHERE
Country='Germany'or'Sweden';
5. SELECT * FROM [OrderDetails] where quantity>= 70;
Ruthchen P. Lauriada ACT22C
SQL Practice
Ruthchen P. Lauriada ACT22C
6. INSERT INTO Employees (EmployeeID, LastName, FirstName,
BirthDate, Photo, Notes)
VALUES ("11", "Lauriada", "Ruthchen", "2003-08-04", "EmpID11.pic",
"Education includes a BS in Accountancy from National University");
7. DELETE FROM Employees WHERE EmployeeID= 11;
Download