If suppose in a table ship(name,year),find ship name having
first and last name(i.e having space in between)
ex: SAINT LOUIS,JET LAKE.

Answer Posted / dhiraj

select Name
from ship
where name in ('Saint Louis','Jet Lake')

Is This Answer Correct ?    1 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What protocol does sql server use?

697


What is the purpose of forms?

687


Mention what are the different types of ssrs reports?

126


What is the name of reporting services config file and what’s it’s used for?

119


What are the triggers in sql?

744






What is the difference between dataadapter and datareader?

727


Differentiate between truncate vs delete in mssql?

685


What is page in sql server?

687


Name the different type of indexes in sql?

716


How you can get the list of largest tables in a database?

692


How many clustered indexes can be created on a table? I create a separate index on each column of a table. what are the advantages and disadvantages of this approach?

858


What is sql server query analyzer?

711


What happens if strings are casted into wrong code pages in ms sql server?

824


What is Service Broker in sql server 2012?

776


What is set nocount on and what is set nocount off?

670