Click here to Skip to main content
15,921,905 members
Home / Discussions / Database
   

Database

 
GeneralRe: running mysql_install_db on windows Pin
Grimolfr6-Jul-04 10:05
Grimolfr6-Jul-04 10:05 
Generaldataview Pin
Member 11412663-Jul-04 0:41
Member 11412663-Jul-04 0:41 
QuestionWhat is the main advantage of subqueries? Pin
wgdesigner2-Jul-04 22:31
wgdesigner2-Jul-04 22:31 
GeneralStored Procedure call yields RecordSet error Pin
Peter Weyzen2-Jul-04 8:29
Peter Weyzen2-Jul-04 8:29 
GeneralRe: Stored Procedure call yields RecordSet error Pin
Steven Campbell2-Jul-04 11:19
Steven Campbell2-Jul-04 11:19 
GeneralRe: Stored Procedure call yields RecordSet error Pin
Peter Weyzen2-Jul-04 11:52
Peter Weyzen2-Jul-04 11:52 
GeneralCould use an extra brain... Pin
brdavid2-Jul-04 6:31
brdavid2-Jul-04 6:31 
GeneralRe: Could use an extra brain... Pin
Steven Campbell2-Jul-04 11:15
Steven Campbell2-Jul-04 11:15 
Thats a fairly common problem, at least in my experience. The simplest from a data capture point of view is to make no distinction between a skill and a subskill, and to store them in the same table, with one of the fields being a foreign key referencing the same table. That allows a lot of flexibility in terms of setting up heirarchies.

A top-level skill will usually have a NULL value in the foreign key field, indicating that it does not have a parent.

If you stick to allowing only a few levels of skills, then this structure is adequate. If you need more, then it may lead to performance concerns when attempting to display the structure on the screen.

If you just need a simple heirarchy of 2 levels (skill & subskill) then you can just have a skill & subskill table, with a simple 1 to many relation.

You can extend either model with categories by creating a category table, linked to the subskills or the skills table, such that a skill/subskill can have multiple categories, independent of its relation to other skills.


my blog
GeneralRe: Could use an extra brain... Pin
brdavid2-Jul-04 14:53
brdavid2-Jul-04 14:53 
GeneralSQL query required Pin
Imtiaz Murtaza1-Jul-04 23:02
Imtiaz Murtaza1-Jul-04 23:02 
GeneralRe: SQL query required Pin
wgdesigner2-Jul-04 22:23
wgdesigner2-Jul-04 22:23 
GeneralRe: SQL query required Pin
Go2Canada5-Jul-04 3:07
sussGo2Canada5-Jul-04 3:07 
GeneralRe: SQL query required Pin
irshu8-Jul-04 21:09
irshu8-Jul-04 21:09 
GeneralA Querying to Date Problm Pin
Anonymous1-Jul-04 20:50
Anonymous1-Jul-04 20:50 
GeneralPlease help - can't update screen while waiting for SP in C#. Pin
unRheal1-Jul-04 12:40
unRheal1-Jul-04 12:40 
GeneralRe: Please help - can't update screen while waiting for SP in C#. Pin
Colin Angus Mackay2-Jul-04 15:34
Colin Angus Mackay2-Jul-04 15:34 
GeneralRe: Please help - can't update screen while waiting for SP in C#. Pin
unRheal2-Jul-04 16:39
unRheal2-Jul-04 16:39 
GeneralRe: Please help - can't update screen while waiting for SP in C#. Pin
Mike Dimmick4-Jul-04 6:52
Mike Dimmick4-Jul-04 6:52 
GeneralRe: Please help - can't update screen while waiting for SP in C#. Pin
Colin Angus Mackay4-Jul-04 7:16
Colin Angus Mackay4-Jul-04 7:16 
GeneralRe: Please help - can't update screen while waiting for SP in C#. Pin
unRheal4-Jul-04 13:42
unRheal4-Jul-04 13:42 
GeneralDTS Package Pin
Member 11509011-Jul-04 2:41
Member 11509011-Jul-04 2:41 
GeneralMaster in SQL please Help Pin
irshu1-Jul-04 1:05
irshu1-Jul-04 1:05 
GeneralRe: Master in SQL please Help Pin
Xiangyang Liu 刘向阳1-Jul-04 1:12
Xiangyang Liu 刘向阳1-Jul-04 1:12 
GeneralRe: Master in SQL please Help Pin
irshu1-Jul-04 18:53
irshu1-Jul-04 18:53 
GeneralRe: Master in SQL please Help Pin
Xiangyang Liu 刘向阳2-Jul-04 3:59
Xiangyang Liu 刘向阳2-Jul-04 3:59 

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.