|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Help with simple code
Hi I really need your help and really there simple questions but i cabt get the answers.
Ive made a database in Microsoft SQL Server 2000 for a car dealer and I need help. The first is that I need a select statement to find the most common model of car. I have a table named car and one of the field is called model. I need the code to find the most common model of car?? any ideas Select (something dont know wat) model From Car Any Ideas |
|
#2
|
|||
|
|||
|
Hi,
I'm not very sure, whether the query can retrieve only the most commonly used car but the following will retrieve all the models with their count and the top most will be most commonly used car. Quote:
__________________
Regards, Brightlight
|
![]() |
| Viewing: Dev Shed Forums > Databases > MS SQL Development > Help with simple code |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|