Popular Posts

SQLblog.com - The SQL Server blog spot on the web

Friday, September 15, 2017

Sql Help

SQLServerCentral » Latest topics
Sql Help
I'm trying to return the orders and order line items for a specified customer.
How can I get the orderid from the previous query?
select *
from orders
where customerid = @CustomerID

select *
from lineitems
where orderid =

No comments: