How to find out name of all employees who has salary less
than 200 Rs.?

Answer Posted / manu

select emp<e name field>,sal<Sal field> from employees <Table name>
where sal<Sal field> < 200

Note: Field = Table column name......


enjoy... this is simple query

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is spatial and temporal data?

720


you added a row to a view, but the row is not shown on the view. Explain how this can happen, and how you can remedy the situation

721


What is inner join in sql server joins?

725


How to create a login account in ms sql server to access the database engine using "create login" statements?

755


What is transaction server explicit transaction?

758


What are ddl triggers and types of ddl trigger?

802


What is reference section?

682


What is buffer cash in sql server?

834


As a general practice, it is recommended to have dbo be the owner of all database objects however, in your database you find number of tables owned by a user other than dbo, how could you fix this?

816


Which are the new data types introduced in sql server 2008?

685


What is #temp and @table variable in SQL server?

781


What is resource governor?

731


What are security principals used in sql server 2005?

686


Explain the different types of joins?

758


What is a select query statement in ms sql server?

781