Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Database Design
»
Relational Theory
»
help
help
Rate Topic
Display Mode
Topic Options
Author
Message
kavyap.kp
kavyap.kp
Posted Friday, December 30, 2011 9:57 AM
Forum Newbie
Group: General Forum Members
Last Login: Friday, December 30, 2011 11:18 PM
Points: 3,
Visits: 4
i am working on e learning and certification i have this prob on maintaining the details of students who have registered for the various courses,courses they have completed,and if they are pursuing, i need 3 columns for every course for every student is there a solution for it?
Post #1228471
SQLRNNR
SQLRNNR
Posted Friday, December 30, 2011 10:49 AM
SSCoach
Group: General Forum Members
Last Login: Yesterday @ 10:25 AM
Points: 18,754,
Visits: 12,337
What have you got so far?
Jason
AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server 2008
SQL RNNR
Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1228496
LutzM
LutzM
Posted Friday, December 30, 2011 10:57 AM
SSCertifiable
Group: General Forum Members
Last Login: Wednesday, April 24, 2013 3:17 PM
Points: 6,731,
Visits: 12,131
Please read and follow the advice given in the first link in my signature and post ready to use sample data together with your expected result and what you've tried so far.
Based on the vague description there's little we can do....
Lutz
A pessimist is an optimist with experience.
How to get fast answers to your question
How to post performance related questions
Links for
Tally Table
,
Cross Tabs
and
Dynamic Cross Tabs
,
Delimited Split Function
Post #1228499
PaulB-TheOneAndOnly
PaulB-TheOneAndOnly
Posted Friday, December 30, 2011 12:45 PM
SSCrazy
Group: General Forum Members
Last Login: Yesterday @ 12:00 PM
Points: 2,988,
Visits: 4,412
kavyap.kp (12/30/2011)
...is there a solution for it?
Yes, I think so - what do you think?
Why don't you start by showing us your ER model?
_____________________________________
Pablo (Paul) Berzukov
Author of
Understanding Database Administration
available at Amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Post #1228532
kavyap.kp
kavyap.kp
Posted Friday, December 30, 2011 10:52 PM
Forum Newbie
Group: General Forum Members
Last Login: Friday, December 30, 2011 11:18 PM
Points: 3,
Visits: 4
ryt now i have a student table with student details a lecturer table and a course table,,,,,,,,,,,,
Post #1228591
LutzM
LutzM
Posted Saturday, December 31, 2011 1:07 AM
SSCertifiable
Group: General Forum Members
Last Login: Wednesday, April 24, 2013 3:17 PM
Points: 6,731,
Visits: 12,131
I just can repeat what I stated before:
Please read and follow the advice given in the first link in my signature and post ready to use sample data together with your expected result and what you've tried so far.
Based on the vague description there's little we can do....
Did you even bother to read that article?
Lutz
A pessimist is an optimist with experience.
How to get fast answers to your question
How to post performance related questions
Links for
Tally Table
,
Cross Tabs
and
Dynamic Cross Tabs
,
Delimited Split Function
Post #1228618
Dev
Dev
Posted Saturday, December 31, 2011 1:09 AM
SSCrazy
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 2:05 PM
Points: 2,013,
Visits: 1,566
kavyap.kp (12/30/2011)
ryt now i have a student table with student details a lecturer table and a course table,,,,,,,,,,,,
Start with
Normalization
Principles...
http://en.wikipedia.org/wiki/Database_normalization
~Dev~
Post #1228619
PaulB-TheOneAndOnly
PaulB-TheOneAndOnly
Posted Monday, January 02, 2012 9:36 AM
SSCrazy
Group: General Forum Members
Last Login: Yesterday @ 12:00 PM
Points: 2,988,
Visits: 4,412
kavyap.kp (12/30/2011)
ryt now i have a student table with student details a lecturer table and a course table,,,,,,,,,,,,
Well... if you have the tables that means that you already have a sound ER Model, isn't it? Would you mind in showing it to us?
_____________________________________
Pablo (Paul) Berzukov
Author of
Understanding Database Administration
available at Amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Post #1228938
Grant Fritchey
Grant Fritchey
Posted Tuesday, January 03, 2012 7:47 AM
SSChampion
Group: General Forum Members
Last Login: Today @ 3:41 AM
Points: 13,383,
Visits: 25,189
Think about it like this, you don't need three columns, you have three potential pieces of information for a unique relationship between a student and a course. That might help you resolve how you want to put together the model.
----------------------------------------------------
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of:
SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans
Product Evangelist for
Red Gate Software
Post #1229272
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.