Professional Documents
Culture Documents
SELECT
- List three column: CustomerID, CustomerName, Address, City from Customers table
2. WHERE
- List all customers from the country ‘Germany’ in the customer table (using WHERE clause)
- List all customers from the PostalCode ‘52066’ in the customer table (using WHERE
clause)
- List all customers from CustomerId = 20 in the customer table (using WHERE clause)
- List all products from Price > 20 in the Product table (using WHERE clause)
- List all products from Price > 20 and < 30 in the Product table (using WHERE clause)
- List all products from Price > 20 and < 30 in the Product table (using WHERE clause and
BETWEEN)
3. AND OR NOT
- List all customers in the Customer table has City in London and Country in UK
- List all customers in the Customer table has City in London and Berlin (Using OR statement)
4. INSERT, UPDATE
name ( for example, Contact name is Thanh Do), City = Ha noi, PostalCode = 20000
5. DELETE
- Delete the customers in Question 4 (delete a record you INSERT, delete records you just
updated in question 4)