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.
Answers were Sorted based on User's Feedback
Answer / challa yerriswamy
select name,year
from ship
where name like '% %';
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / sandeep modapathi
select name from ship where where PATINDEX ('% %',name )>0
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / suresh
select name,year
from ship
where name like '%,%';
| Is This Answer Correct ? | 1 Yes | 8 No |
Answer / dhiraj
select Name
from ship
where name in ('Saint Louis','Jet Lake')
| Is This Answer Correct ? | 1 Yes | 10 No |
Can you explain some of the DTS problems?
What are the OS services that the SQL Server installation adds?
Due to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down?
Explain what is use of dbcc commands?
Explain candidate key, alternate key, and composite key?
What is sql server english query?
What is sql or structured query language?
What is the correct order of the logical query processing phases?
What is the use of sql profiler in sql server 2012?
What is Command line parameters in PLSQL.?
Is it safe to delete log files?
how to write the query to select the rows are in the order of either 1,3,5,7... or 2,4,6,8,...
7 Answers ADP, Satyam, Tech Mahindra,
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)