-- Definition for database test6534465
--
DROP DATABASE IF EXISTS test6534465;
CREATE DATABASE test6534465
CHARACTER SET utf8
COLLATE utf8_general_ci;
--
-- Disable foreign keys
--
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
--
-- Set SQL mode
--
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
--
-- Set default database
--
USE test6534465;
--
-- Definition for table links
--
CREATE TABLE links (
idLink INT(11) NOT NULL AUTO_INCREMENT,
idowner INT(11) DEFAULT NULL,
idproperty INT(11) DEFAULT NULL,
PRIMARY KEY (idLink)
)
ENGINE = INNODB
AUTO_INCREMENT = 5
AVG_ROW_LENGTH = 4096
CHARACTER SET utf8
COLLATE utf8_general_ci;
--
-- Definition for table owners
--
CREATE TABLE owners (
idowner INT(11) NOT NULL AUTO_INCREMENT,
nameowner VARCHAR(50) DEFAULT NULL,
PRIMARY KEY (idowner)
)
ENGINE = INNODB
AUTO_INCREMENT = 5
AVG_ROW_LENGTH = 4096
CHARACTER SET utf8
COLLATE utf8_general_ci;
--
-- Definition for table property
--
CREATE TABLE property (
idproperty INT(11) NOT NULL AUTO_INCREMENT,
propertyname VARCHAR(255) DEFAULT NULL,
PRIMARY KEY (idproperty)
)
ENGINE = INNODB
AUTO_INCREMENT = 6
AVG_ROW_LENGTH = 3276
CHARACTER SET utf8
COLLATE utf8_general_ci;
--
-- Dumping data for table links
--
INSERT INTO links VALUES
(1, 1, 2),
(2, 1, 3),
(3, 2, 2),
(4, 3, 2);
--
-- Dumping data for table owners
--
INSERT INTO owners VALUES
(1, 'Bill'),
(2, 'Angus'),
(3, 'Orrin'),
(4, 'Scott');
--
-- Dumping data for table property
--
INSERT INTO property VALUES
(1, 'Blue Car'),
(2, 'Red Scorpion'),
(3, 'Green Bicycle'),
(4, 'ThunderBlue'),
(5, 'OldFan');
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE