First, type in:
select *
FROM [Sales].[SalesOrderDetail] sod
where
Hit space, and you get a list of columns from SalesOrderDetail. Good.
But what if I want to do the WHERE clause before the SELECT list?
select
FROM [Sales].[SalesOrderDetail] ssr
where
Now I once again get my favorite list: Every database object. Whether or not I have columns in the SELECT list, I'd like to be able to work with the WHERE clause in a manner that makes sense.
Hit space, and you get a list of columns from SalesOrderDetail. Good.
But what if I want to do the WHERE clause before the SELECT list?
Now I once again get my favorite list: Every database object. Whether or not I have columns in the SELECT list, I'd like to be able to work with the WHERE clause in a manner that makes sense.