Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

help Expand / Collapse
Author
Message
Posted Friday, December 30, 2011 9:57 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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
Posted Friday, December 30, 2011 10:49 AM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Today @ 4:39 PM
Points: 20,485, Visits: 14,143
What have you got so far?



Jason AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server


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
Posted Friday, December 30, 2011 10:57 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 11:02 AM
Points: 6,957, Visits: 12,720
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
Posted Friday, December 30, 2011 12:45 PM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Tuesday, January 28, 2014 8:15 AM
Points: 3,068, Visits: 4,639
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
Posted Friday, December 30, 2011 10:52 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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
Posted Saturday, December 31, 2011 1:07 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 11:02 AM
Points: 6,957, Visits: 12,720
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
Posted Saturday, December 31, 2011 1:09 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Thursday, January 30, 2014 12:01 AM
Points: 2,013, Visits: 1,581
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

Devendra Shirbad | DBA / Data Architect | Ex-Microsoft CSS (SQL 3T)
LinkedIn: http://www.linkedin.com/in/devendrashirbad
Post #1228619
Posted Monday, January 02, 2012 9:36 AM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Tuesday, January 28, 2014 8:15 AM
Points: 3,068, Visits: 4,639
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
Posted Tuesday, January 03, 2012 7:47 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 2:42 PM
Points: 14,840, Visits: 27,315
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 »

Add to briefcase

Permissions Expand / Collapse