Adventure

You might also like

You are on page 1of 1

1.

Select FirstName,EmailAddress,CompanyName
from Customer where CompanyName="Bike World";

2. SELECT DISTINCT CompanyName


FROM Customer
Join CustomerAddress ON Customer.CustomerID=CustomerAddress.CustomerID
JOIN Address ON
CustomerAddress.AddressID = Address.AddressID
WHERE City = 'Dallas';

3. select count(ListPrice)
from Product where ListPrice >1000;

4.SELECT CompanyName
FROM Customer
JOIN SalesOrderHeader
ON Customer.CustomerID= SalesOrderHeader.CustomerID
WHERE(SubTotal + TaxAmt + Freight)> 100000;

You might also like