View Single Post
  #2   Spotlight this post!  
Unread 28-02-2004, 16:56
Mr. Ivey's Avatar
Mr. Ivey Mr. Ivey is offline
Mark Ivey
AKA: Mark
no team
 
Join Date: Sep 2002
Rookie Year: 2000
Location: Raleigh, NC
Posts: 171
Mr. Ivey is a glorious beacon of lightMr. Ivey is a glorious beacon of lightMr. Ivey is a glorious beacon of lightMr. Ivey is a glorious beacon of lightMr. Ivey is a glorious beacon of light
Send a message via AIM to Mr. Ivey
Re: Need Help with SQL

for access, just using the command line you type something like this
SELECT t.team_number=384, d.drive_type=hyper;
FROM team t, drive d;
if you don't have multiple tables, and the info is just in the rows it goes like this
SELECT team_number=384, drive_type=hyper;
FROM team;
for entering info, i will get back to you, i need to find my Oracle 9i and SQL notes from last year in OIA. But I will let you know.
ivey

Found my notes, you need to use the INSERT INTO command, and then give the colums to insert info in, and then the corresponding data. After you type the inital command you need to put the name of the table, and then after that the schema. The whole thing looks like this:
INSERT INTO RoboInfo.SchemaIvey (drive_train, wheels) VALUES (hyper, MonsterTruck);

If you have any more questions search for information on Data Manipulation Language, or DML in SQL. Here is also a tutorial that helped me get through my Oracle class last year: SQL Help and Tutorial
__________________
When you tell a student not to do it, you shouldn't do it. Or else you will wind up with a 3/8" drill bit in your finger... Like I did...

Last edited by Mr. Ivey : 28-02-2004 at 17:30.