SET FOREIGN_KEY_CHECKS=0;-- ------------------------------ Table structure for juegos-- ----------------------------DROPTABLEIFEXISTS`juegos`;CREATETABLE`juegos`(`ID`int(11)NOTNULLAUTO_INCREMENT,`juegoname`varchar(255)DEFAULTNULL,PRIMARYKEY(`ID`))ENGINE=InnoDBAUTO_INCREMENT=8DEFAULTCHARSET=utf8;-- ------------------------------ Records of juegos-- ----------------------------INSERTINTO`juegos`VALUES('1','Final Fantasy VII');INSERTINTO`juegos`VALUES('2','Zelda: A link to the past');INSERTINTO`juegos`VALUES('3','Crazy Taxy');INSERTINTO`juegos`VALUES('4','Donkey Kong Country');INSERTINTO`juegos`VALUES('5','Fallout 4');INSERTINTO`juegos`VALUES('6','Saints Row III');INSERTINTO`juegos`VALUES('7','La taba');-- ------------------------------ Table structure for juegousuario-- ----------------------------DROPTABLEIFEXISTS`juegousuario`;CREATETABLE`juegousuario`(`ID_usuario`int(11)NOTNULL,`ID_juego`int(11)NOTNULL,UNIQUEKEY`id_user_juego`(`ID_usuario`,`ID_juego`))ENGINE=InnoDBDEFAULTCHARSET=utf8;-- ------------------------------ Records of juegousuario-- ----------------------------INSERTINTO`juegousuario`VALUES('1','1');INSERTINTO`juegousuario`VALUES('1','2');INSERTINTO`juegousuario`VALUES('1','3');INSERTINTO`juegousuario`VALUES('1','4');#INSERT INTO `juegousuario` VALUES ('1', '5');INSERTINTO`juegousuario`VALUES('1','6');INSERTINTO`juegousuario`VALUES('1','7');INSERTINTO`juegousuario`VALUES('2','3');INSERTINTO`juegousuario`VALUES('2','7');INSERTINTO`juegousuario`VALUES('4','1');INSERTINTO`juegousuario`VALUES('4','2');INSERTINTO`juegousuario`VALUES('4','4');INSERTINTO`juegousuario`VALUES('4','7');-- ------------------------------ Table structure for usuarios-- ----------------------------DROPTABLEIFEXISTS`usuarios`;CREATETABLE`usuarios`(`ID`int(11)NOTNULLAUTO_INCREMENT,`username`varchar(255)DEFAULTNULL,PRIMARYKEY(`ID`))ENGINE=InnoDBAUTO_INCREMENT=5DEFAULTCHARSET=utf8;-- ------------------------------ Records of usuarios-- ----------------------------INSERTINTO`usuarios`VALUES('1','vichaunter');INSERTINTO`usuarios`VALUES('2','pepito');INSERTINTO`usuarios`VALUES('3','jaimito');INSERTINTO`usuarios`VALUES('4','ataulfo');SET FOREIGN_KEY_CHECKS=1;SET FOREIGN_KEY_CHECKS=1;
SET FOREIGN_KEY_CHECKS=0;-- ------------------------------ Table structure for juegos-- ----------------------------DROPTABLEIFEXISTS`juegos`;CREATETABLE`juegos`(`ID`int(11)NOTNULLAUTO_INCREMENT,`juegoname`varchar(255)DEFAULTNULL,PRIMARYKEY(`ID`))ENGINE=InnoDBAUTO_INCREMENT=8DEFAULTCHARSET=utf8;-- ------------------------------ Records of juegos-- ----------------------------INSERTINTO`juegos`VALUES('1','Final Fantasy VII');INSERTINTO`juegos`VALUES('2','Zelda: A link to the past');INSERTINTO`juegos`VALUES('3','Crazy Taxy');INSERTINTO`juegos`VALUES('4','Donkey Kong Country');INSERTINTO`juegos`VALUES('5','Fallout 4');INSERTINTO`juegos`VALUES('6','Saints Row III');INSERTINTO`juegos`VALUES('7','La taba');-- ------------------------------ Table structure for juegousuario-- ----------------------------DROPTABLEIFEXISTS`juegousuario`;CREATETABLE`juegousuario`(`ID_usuario`int(11)NOTNULL,`ID_juego`int(11)NOTNULL,UNIQUEKEY`id_user_juego`(`ID_usuario`,`ID_juego`))ENGINE=InnoDBDEFAULTCHARSET=utf8;-- ------------------------------ Records of juegousuario-- ----------------------------INSERTINTO`juegousuario`VALUES('1','1');INSERTINTO`juegousuario`VALUES('1','2');INSERTINTO`juegousuario`VALUES('1','3');INSERTINTO`juegousuario`VALUES('1','4');#INSERT INTO `juegousuario` VALUES ('1', '5');INSERTINTO`juegousuario`VALUES('1','6');INSERTINTO`juegousuario`VALUES('1','7');INSERTINTO`juegousuario`VALUES('2','3');INSERTINTO`juegousuario`VALUES('2','7');INSERTINTO`juegousuario`VALUES('4','1');INSERTINTO`juegousuario`VALUES('4','2');INSERTINTO`juegousuario`VALUES('4','4');INSERTINTO`juegousuario`VALUES('4','7');-- ------------------------------ Table structure for usuarios-- ----------------------------DROPTABLEIFEXISTS`usuarios`;CREATETABLE`usuarios`(`ID`int(11)NOTNULLAUTO_INCREMENT,`username`varchar(255)DEFAULTNULL,PRIMARYKEY(`ID`))ENGINE=InnoDBAUTO_INCREMENT=5DEFAULTCHARSET=utf8;-- ------------------------------ Records of usuarios-- ----------------------------INSERTINTO`usuarios`VALUES('1','vichaunter');INSERTINTO`usuarios`VALUES('2','pepito');INSERTINTO`usuarios`VALUES('3','jaimito');INSERTINTO`usuarios`VALUES('4','ataulfo');SET FOREIGN_KEY_CHECKS=1;SET FOREIGN_KEY_CHECKS=1;
SET FOREIGN_KEY_CHECKS=0;-- ------------------------------ Table structure for juegos-- ----------------------------DROPTABLEIFEXISTS`juegos`;CREATETABLE`juegos`(`ID`int(11)NOTNULLAUTO_INCREMENT,`juegoname`varchar(255)DEFAULTNULL,PRIMARYKEY(`ID`))ENGINE=InnoDBAUTO_INCREMENT=8DEFAULTCHARSET=utf8;-- ------------------------------ Records of juegos-- ----------------------------INSERTINTO`juegos`VALUES('1','Final Fantasy VII');INSERTINTO`juegos`VALUES('2','Zelda: A link to the past');INSERTINTO`juegos`VALUES('3','Crazy Taxy');INSERTINTO`juegos`VALUES('4','Donkey Kong Country');INSERTINTO`juegos`VALUES('5','Fallout 4');INSERTINTO`juegos`VALUES('6','Saints Row III');INSERTINTO`juegos`VALUES('7','La taba');-- ------------------------------ Table structure for juegousuario-- ----------------------------DROPTABLEIFEXISTS`juegousuario`;CREATETABLE`juegousuario`(`ID_usuario`int(11)NOTNULL,`ID_juego`int(11)NOTNULL,UNIQUEKEY`id_user_juego`(`ID_usuario`,`ID_juego`))ENGINE=InnoDBDEFAULTCHARSET=utf8;-- ------------------------------ Records of juegousuario-- ----------------------------INSERTINTO`juegousuario`VALUES('1','1');INSERTINTO`juegousuario`VALUES('1','2');INSERTINTO`juegousuario`VALUES('1','3');INSERTINTO`juegousuario`VALUES('1','4');#INSERT INTO `juegousuario` VALUES ('1', '5');INSERTINTO`juegousuario`VALUES('1','6');INSERTINTO`juegousuario`VALUES('1','7');INSERTINTO`juegousuario`VALUES('2','3');INSERTINTO`juegousuario`VALUES('2','7');INSERTINTO`juegousuario`VALUES('4','1');INSERTINTO`juegousuario`VALUES('4','2');INSERTINTO`juegousuario`VALUES('4','4');INSERTINTO`juegousuario`VALUES('4','7');-- ------------------------------ Table structure for usuarios-- ----------------------------DROPTABLEIFEXISTS`usuarios`;CREATETABLE`usuarios`(`ID`int(11)NOTNULLAUTO_INCREMENT,`username`varchar(255)DEFAULTNULL,PRIMARYKEY(`ID`))ENGINE=InnoDBAUTO_INCREMENT=5DEFAULTCHARSET=utf8;-- ------------------------------ Records of usuarios-- ----------------------------INSERTINTO`usuarios`VALUES('1','vichaunter');INSERTINTO`usuarios`VALUES('2','pepito');INSERTINTO`usuarios`VALUES('3','jaimito');INSERTINTO`usuarios`VALUES('4','ataulfo');SET FOREIGN_KEY_CHECKS=1;
SET FOREIGN_KEY_CHECKS=0;-- ------------------------------ Table structure for juegos-- ----------------------------DROPTABLEIFEXISTS`juegos`;CREATETABLE`juegos`(`ID`int(11)NOTNULLAUTO_INCREMENT,`juegoname`varchar(255)DEFAULTNULL,PRIMARYKEY(`ID`))ENGINE=InnoDBAUTO_INCREMENT=8DEFAULTCHARSET=utf8;-- ------------------------------ Records of juegos-- ----------------------------INSERTINTO`juegos`VALUES('1','Final Fantasy VII');INSERTINTO`juegos`VALUES('2','Zelda: A link to the past');INSERTINTO`juegos`VALUES('3','Crazy Taxy');INSERTINTO`juegos`VALUES('4','Donkey Kong Country');INSERTINTO`juegos`VALUES('5','Fallout 4');INSERTINTO`juegos`VALUES('6','Saints Row III');INSERTINTO`juegos`VALUES('7','La taba');-- ------------------------------ Table structure for juegousuario-- ----------------------------DROPTABLEIFEXISTS`juegousuario`;CREATETABLE`juegousuario`(`ID_usuario`int(11)NOTNULL,`ID_juego`int(11)NOTNULL,UNIQUEKEY`id_user_juego`(`ID_usuario`,`ID_juego`))ENGINE=InnoDBDEFAULTCHARSET=utf8;-- ------------------------------ Records of juegousuario-- ----------------------------INSERTINTO`juegousuario`VALUES('1','1');INSERTINTO`juegousuario`VALUES('1','2');INSERTINTO`juegousuario`VALUES('1','3');INSERTINTO`juegousuario`VALUES('1','4');#INSERT INTO `juegousuario` VALUES ('1', '5');INSERTINTO`juegousuario`VALUES('1','6');INSERTINTO`juegousuario`VALUES('1','7');INSERTINTO`juegousuario`VALUES('2','3');INSERTINTO`juegousuario`VALUES('2','7');INSERTINTO`juegousuario`VALUES('4','1');INSERTINTO`juegousuario`VALUES('4','2');INSERTINTO`juegousuario`VALUES('4','4');INSERTINTO`juegousuario`VALUES('4','7');-- ------------------------------ Table structure for usuarios-- ----------------------------DROPTABLEIFEXISTS`usuarios`;CREATETABLE`usuarios`(`ID`int(11)NOTNULLAUTO_INCREMENT,`username`varchar(255)DEFAULTNULL,PRIMARYKEY(`ID`))ENGINE=InnoDBAUTO_INCREMENT=5DEFAULTCHARSET=utf8;-- ------------------------------ Records of usuarios-- ----------------------------INSERTINTO`usuarios`VALUES('1','vichaunter');INSERTINTO`usuarios`VALUES('2','pepito');INSERTINTO`usuarios`VALUES('3','jaimito');INSERTINTO`usuarios`VALUES('4','ataulfo');SET FOREIGN_KEY_CHECKS=1;