Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 15th, 2005, 5:07 AM   #11
Akhenaton
Newbie
 
Join Date: Apr 2005
Posts: 7
Rep Power: 0 Akhenaton is on a distinguished road
1. Get the input data
2. Transform the data
3. Present the results

This is the rule u asked me to follow in creating my Db for averages. But the point is I've created the tables but it seems I created the wrong tables. How do I know which are the right tables?
Akhenaton is offline   Reply With Quote
Old Jul 15th, 2005, 6:33 AM   #12
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
If you create tables that contain the data you need, how can they be the wrong tables? Admittedly, they might not be maximally effective. If they have the right data, you can get the job done. I just don't understand your question at all.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Jul 18th, 2005, 7:34 AM   #13
Akhenaton
Newbie
 
Join Date: Apr 2005
Posts: 7
Rep Power: 0 Akhenaton is on a distinguished road
for my db, I created the following tables; students, teachers, admissions, classes, results, subjects. But a simple query such as SELECT * FROM STUDENTS does not work. I'm new to Programming even a child could resolve such a query.Que pasa?
Akhenaton is offline   Reply With Quote
Old Jul 18th, 2005, 8:16 AM   #14
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
what errors are you getting?
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Jul 19th, 2005, 10:57 AM   #15
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Lebenty-seven things can go wrong from a non-connection to bad query syntax. Whatever tools you're using, during the development phase have ALL errors and warnings appear, check ALL calls for the return value (or other status indication), and print out errors as part of the failure process. All the information you need to debug is generally available to you in these things and in the variables you are using. Debugging will always be a substantial part of your development; don't handicap your process by presuming in advance that everything will work.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:32 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC