Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

A table contains list of customers and his city with other
details. Each customer has a unique number and the table
consists millions of data. Query is: I want to retrieve 10
customers from each city, no script, only from single query?

Answer Posted / sonal parekh

select Top 10 CustomerName, city from customer

Is This Answer Correct ?    5 Yes 31 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is open database communication (odbc)?

1112


What are different types of database indexes?

1168


Do you know what is a trace frag? Where do we use it?

1040


Can you change the data type of a column in a table after the table has been created? If so, which command would you use?

1078


When does the auto update index statistics feature in sql server turn itself on?q) what specific conditions database should meet, before you can bulk copy data into it using bcp?

1030


How to Improve the performencs of SQL Server 2005 exclude stored Procedure and Indexes?

2058


Write a code to select distinct records without using the DISTINCT keyword.

1181


What is temporary table in sql server? Why we use temp table?

993


List the different types of collation sensitivities in sql server?

1075


What is the purpose of floor function?

1091


How do you manipulate data?

949


You have a stored procedure, which execute a lengthy batch job. This stored procedure is called from a trigger you do not want to slow the data entry process you do not want trigger to wait for this batch job to finish before it completes itself what you can do to speed up the process?

1191


How will you hide an attribute? : sql server analysis services, ssas

1010


What happens if the update subquery returns multiple rows in ms sql server?

1168


What happens if you delete a table that is used by a view?

1060