Skip to content
Advertisement

SQ writing queries

In SQL how do I display only the columns LastName, FirstName, BusinessEntityID (show the output in that order) all rows?

Advertisement

Answer

It’s pretty simple:

Select LastName, FirstName, BusinessEntittyID from table_name 
order by LastName, FirstName, BusinessEntittyID
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement