Aug. 5th, 2010

vaxjedi: (Default)

I am looking at doing something in SQL, but my knowledge of SQL is low and self-taught. I was wondering if there are any SQL people out there who can help me.
(If it helps, I'll likely be doing this on MySQL).

So, I have two list of items (lista and listb), each of arbitrary length. The size of the lists will chnage over time independent of each other. However, items from lista can be pairs with items from listb. Each pairing produces a value. I want to be able to, given an item from each list, get the appropriate value of the pairing. This is easy to do on paper (i.e. draw a grid and make lista the rows, listb the columns and fill in the blocks). It's easy to do with a dynamically sized multidimensional array. But how would I do this in SQL?

Posted via email from Xyphoid Musings

Profile

vaxjedi: (Default)
vaxjedi

November 2019

S M T W T F S
     12
3 456789
10111213141516
17181920212223
24252627282930

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 18th, 2025 01:20 am
Powered by Dreamwidth Studios