select names starts with a,b,c
Answer Posted / naren
select * from table_name where Name like 'A%'
union
select * from table_name where Name like 'B%'
union
select * from table_name where Name like 'C%'
| Is This Answer Correct ? | 6 Yes | 10 No |
Post New Answer View All Answers
Write a query for primary key constraint with identity key word?
What is the tcp/ip port on which sql server runs?
What is a functions and types in sql server?
How to delete database objects with "drop" statements in ms sql server?
How to use old values to define new values in update statements in ms sql server?
Do you know what is normalization of database? What are its benefits?
What are cursors? Explain the different types of cursors Enlist a few disadvantages of cursors.
How should i optimize the time for execution of stored procedure having single input and many output from the different tables?
how do you determine the Load performance of any query in sql server {example how do u determine performance of a select stmnt which returns Dynamically many no of records ... some times 100,1000,10000 etc., }
List the data types available in mssql?
Explain what are the restrictions that views have to follow? : SQL Server Architecture
What is the maximum size of a row in sql server?
Can group functions be mixed with non-group selection fields in ms sql server?
Does order by actually change the order of the data in the tables or does it just change the output?
Write an sql query for deleting duplicate rows?