Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I posted a query a short while ago and had an informed answer within a couple of hours. Terrific!..."

Geography

Where in the world do Tek-Tips members come from?
grimmy (MIS)
25 Jun 00 10:18
Hello,
I am an NT4 administrator by trade but I am studying Relational Databases as part of my O.U and I have a question I am struggling on which is probably a piece of cake to you guys. Any help would be greatly appreciated. The question is:-
Give the name and the population growth of the country in the population table that achieved the highest growth between 1960 and 1980(based on the difference between those two dates.

Population Table  (Only Some of it)
           POP.1960      POP.1980     DIFFERENCE
Germany    72673         78395        +5722
Greece     8327          9646         +1319
Spain      30303         37458        +7155
France     45684         53788        +8104

So obviously above the query would give an answer of France but I just need the SQL query that will extract the info required.

Thanks in anticipation.....Paul.









MalcolmW (Programmer)
26 Jun 00 12:00
Just so that you have to do some of the work, use the Max function, which can be used with a expression, not just a field.

Malcolm Wynden
wynden@island.dot.net

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close