CREATE TABLE ipad_data_plans (
	id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
	data_amount VARCHAR(16) NOT NULL,
	cost DECIMAL(5,2) NOT NULL
) ENGINE=InnoDB;

INSERT INTO ipad_data_plans (id, data_amount, cost) VALUES
	(1, '1GB', 39.95),
	(2, '4GB', 49.95);

ALTER TABLE ipad_requests ADD COLUMN data_plan_id INT DEFAULT NULL;

ALTER TABLE ipad_requests ADD CONSTRAINT FOREIGN KEY idx_data_plan (data_plan_id) REFERENCES ipad_data_plans (id);