Click here to Skip to main content
15,888,461 members
Home / Discussions / Database
   

Database

 
GeneralRe: Subquery select case [modified] Pin
Alegria_Lee13-Oct-10 16:25
Alegria_Lee13-Oct-10 16:25 
GeneralRe: Subquery select case Pin
Karthik. A13-Oct-10 16:29
Karthik. A13-Oct-10 16:29 
GeneralRe: Subquery select case Pin
Alegria_Lee13-Oct-10 16:31
Alegria_Lee13-Oct-10 16:31 
GeneralRe: Subquery select case Pin
C#Coudou13-Oct-10 16:50
C#Coudou13-Oct-10 16:50 
GeneralRe: Subquery select case Pin
Blue_Boy13-Oct-10 21:01
Blue_Boy13-Oct-10 21:01 
GeneralRe: Subquery select case Pin
C#Coudou13-Oct-10 21:37
C#Coudou13-Oct-10 21:37 
GeneralRe: Subquery select case Pin
Blue_Boy13-Oct-10 21:43
Blue_Boy13-Oct-10 21:43 
QuestionPlease help me with my research problem [modified] Pin
bleedingfingers13-Oct-10 9:37
bleedingfingers13-Oct-10 9:37 
Hello guys.

First up, please know that it has been almost a decade since I have been anywhere close to a database, be it at work or outside. Anyway I never did anything substantial there except have a table and read/write data. So go easy on flaming if this turned out to be a n00b question or suchlike.


I have to model/analyze some data for some research and I need your help to see how I can go about that.

First some definitions

1. There is a set called S subscripted with n that I write as Sn where 1 <= n <= 100
2. Every Sn (i.e S for all n) is a subset of a larger set called US
3. None of the Sn is intersecting
4. It should be possible to name every Sn

Now the problem

1. I have An and Bn which have one to one mapping
2. I have Cn that has many to one mapping with Bn (each element of Bn maps to one or more elements of Cn)
3. There are also other sets like Dn, En, Fn etc that have one to one mapping with Bn only and are unrelated to any other set directly

I want to be able to do these

1. Given any element from UA, the relevant An (the set) must be got. If An exists, then the corresponding Bn element must be got
2. Similarly, given any element from UB, the relevant Bn must be got. If Bn exists, either from this step or step (1), all the corresponding Cn must be got along with the corresponding ones from Dn, En, Fn etc (the sets that must be considered will be told )
3. Alternatively, any Sn must be extracted by name and all the relations for all its elements must got (i.e if An then Bn as per (2), if others then Bn only)

[EDIT] Some stats - Each set will have at most 500 elements and the super set will have at most 2000. And the set count may be at most 100*50=5000 in all.

I will be having an app for the front end that will do the creating, editing and querying of the database. I will be using MS Access for the backend as it is kinda “free” and already there. I will refresh on my SQL commands as I know that it will be necessary for interacting programmatically.

So can you guys please help me? I need broad ideas like designing it etc more than the "code" itself. I wouldn’t mind if you suggest any other “free” databases that can make my solution simpler. I suppose using ODBC or DAO (that’s what I last remember) is going to act as a black box and I can use any dbase.

And oh, I don’t know .NET. Will it be a chore then?

Feel free to ask me back anything about my problem that you couldn’t understand.

Thanks for your time.
...byte till it megahertz...

my donation to web rubbish
modified on Wednesday, October 13, 2010 5:08 PM

AnswerRe: Please help me with my research problem Pin
David Mujica13-Oct-10 10:44
David Mujica13-Oct-10 10:44 
GeneralRe: Please help me with my research problem Pin
bleedingfingers13-Oct-10 10:55
bleedingfingers13-Oct-10 10:55 
QuestionCouple general questions on sql server 2005+ transactional replication (in continuous mode specifically) Pin
Jon_Boy13-Oct-10 8:58
Jon_Boy13-Oct-10 8:58 
AnswerRe: Couple general questions on sql server 2005+ transactional replication (in continuous mode specifically) Pin
SimulationofSai14-Oct-10 17:05
SimulationofSai14-Oct-10 17:05 
QuestionHow pass dataset query as paramter in SSRS? Pin
andy_p 213-Oct-10 4:39
andy_p 213-Oct-10 4:39 
QuestionOracle development Pin
sinsoush113-Oct-10 2:26
sinsoush113-Oct-10 2:26 
AnswerRe: Oracle development Pin
David Mujica13-Oct-10 3:08
David Mujica13-Oct-10 3:08 
QuestionWhat am I missing here? - (Table Variable) [modified] Pin
Andy_L_J12-Oct-10 21:42
Andy_L_J12-Oct-10 21:42 
AnswerRe: What am I missing here? - (Table Variable) Pin
Blue_Boy12-Oct-10 22:11
Blue_Boy12-Oct-10 22:11 
GeneralRe: What am I missing here? - (Table Variable) Pin
Andy_L_J12-Oct-10 22:37
Andy_L_J12-Oct-10 22:37 
GeneralRe: What am I missing here? - (Table Variable) Pin
Blue_Boy12-Oct-10 22:41
Blue_Boy12-Oct-10 22:41 
GeneralRe: What am I missing here? - (Table Variable) Pin
Andy_L_J12-Oct-10 23:23
Andy_L_J12-Oct-10 23:23 
GeneralRe: What am I missing here? - (Table Variable) Pin
Mycroft Holmes13-Oct-10 0:58
professionalMycroft Holmes13-Oct-10 0:58 
AnswerRe: What am I missing here? - (Table Variable) Pin
Corporal Agarn13-Oct-10 9:44
professionalCorporal Agarn13-Oct-10 9:44 
GeneralRe: What am I missing here? - (Table Variable) Pin
Andy_L_J13-Oct-10 9:48
Andy_L_J13-Oct-10 9:48 
AnswerRe: What am I missing here? - (Table Variable) Pin
www.Developerof.NET17-Oct-10 9:17
www.Developerof.NET17-Oct-10 9:17 
Questionsql novice: how to find only duplicates Pin
PJ Arends12-Oct-10 18:55
professionalPJ Arends12-Oct-10 18:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.