Jump to content

[b]been coding for 24 hours and need a bit of help with it..


glrpfi

Recommended Posts

I have been coding for a billion hours or so and am missing what I am certain is an easy query....help me and its a pint of your favorite!!!

 

The problem:

=========

 

Table Persona_data

 

ID numeric Persona ID

IND numeric Data element number (1-data.maxrecord)

VALUE numeric

 

Primary Key is combination of unique ID and IND

 

No null values

 

What I\'d like to be able to do is check for a

given \"ind\", for values that match a WHERE expression…for example, value > 1, value = 14

 

And having found that list, to then be able to

alter the contents of those values…not setting an absolute value, but something relative to the original VALUE.

 

Example of the query I need

 

IND=12 is the persona score {range 1-1000000}

IND=50 is the persona ranking

I need a query that will assign a persona ranking, ordered by highest score

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.