/    Sign up×
Community /Pin to ProfileBookmark

"how do i change the column names as required" Please Help!!

i need some help on this. My problem is to create two tables as ‘student’ and ‘examResults’, there is seperate columns for subjects in ‘examResults’ table. But the thing is i need to change the subject names when the course syllabus changes, Please help!!!

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@scragarMay 18.2007 — would it not be easier to have 4 tables like so(optimized memory this way, and a whole lot easier):

students<i>
</i>+-----------+--------------------+-------------------.......
| ID | NAME | address ........
+-----------+--------------------+-------------------.....

student courses
<i>
</i>+-----------+---------------------+---------------------.....
| Student | Started | Ends ......
+-----------+---------------------+---------------------....

exams<i>
</i>+-----------+---------------------+---------------------.....
| Student | Taken on | score ......
+-----------+---------------------+---------------------....

possible courses<i>
</i>+-----------+---------------------+---------------------.....
| course ID | Name | other stuff ......
+-----------+---------------------+---------------------....
Copy linkTweet thisAlerts:
@UI-ZEIKVKauthorMay 19.2007 — Thank you scragar, Now I've got some idea with your help, Thanks!Thanks!!Thanks!!! ?
×

Success!

Help @UI-ZEIKVK spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...