CREATE TABLE IF NOT EXISTS Bus_Schedule ( _id VARCHAR(5) PRIMARY KEY , BusName VARCHAR(35))
CREATE TABLE IF NOT EXISTS time_table ( _id VARCHAR(5), dayOfWeek VARCHAR(10), streetName VARCHAR(35), direction VARCHAR(35), timesList VARCHAR(300))
The problem i have most concerned with is that say i have a record for any bus how can i link everything so i can retreive it later fast and easy once i input data for the database i think my setup is all wrong that's where my problem lies... EX:
INSERT INTO Bus_Schedule VALUES('1','Freeport Road')
INSERT INTO time_table VALUES('1','Weekend','Borrow Rd','Towards town','8 830 845 900 915 930 945')

New Topic/Question
Reply



MultiQuote







|