Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ratios in Queries

Status
Not open for further replies.

CFProgrammer

Programmer
Jan 29, 2001
53
0
0
US
I am building a banner ad management system. But I would like to use ratios in my queries. Meaning I would like banner x to display 20:1 (twenty-to-1) or banner y display 5:1. How would I do this with?

Thanks for all your support!
 
Are you saying you want to return a value to a variable that contains ratio text based on a mathematical ratio? JHall
 
I guess. Whatever you think? I am totally lost on this one.

Thanks
 
Ok,
Let's say you have 10 products in a table, and you query the table,

select *
from productTable

Now: I would like product "1" to be display 5 time more likely than product 2-10.

Thanks all I know. I appreciate everything though.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top