aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-felveteli/install/phase2.sql
blob: 9ad25ad14564c518580f77e35a59d28fc3ad2f8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
-- MySQL dump 10.11
--
-- Host: localhost    Database: mayor_felveteli
-- ------------------------------------------------------
-- Server version	5.0.51a-24

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `adatok_2009`
--

DROP TABLE IF EXISTS `adatok_2009`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `adatok_2009` (
  `id` int(10) unsigned NOT NULL,
  `nev` varchar(50) character set utf8 default NULL,
  `jelige` varchar(30) character set utf8 collate utf8_bin default NULL,
  `OM` varchar(7) character set utf8 default NULL,
  `diak` varchar(10) character set utf8 default NULL,
  `oktid` varchar(11) collate utf8_hungarian_ci NOT NULL,
  `szuldt` date default NULL,
  `fl` enum('fiú','lány') character set utf8 default NULL,
  `an` varchar(50) character set utf8 default NULL,
  `irsz` varchar(5) character set utf8 default NULL,
  `varos` varchar(40) character set utf8 default NULL,
  `utca` varchar(50) character set utf8 default NULL,
  `lirsz` varchar(5) character set utf8 default NULL,
  `lvaros` varchar(40) character set utf8 default NULL,
  `lutca` varchar(50) character set utf8 default NULL,
  `atlag` decimal(4,2) default NULL,
  `pontosatlag` decimal(6,4) NOT NULL default '0.0000',
  `pont` decimal(4,2) default NULL,
  `pontsum` decimal(4,2) default NULL,
  `evfolyam` enum('hat','négy') character set utf8 default NULL,
  `jelenleg` varchar(50) character set utf8 default NULL,
  `joslat` varchar(50) character set utf8 default NULL,
  `vegeredmeny` varchar(20) character set utf8 default NULL,
  `level1` enum('nincs értesítve','értesítve') character set utf8 default NULL,
  `level2` enum('nincs értesítve','nem kell értesíteni','értesítve') character set utf8 default NULL,
  PRIMARY KEY  (`id`),
  KEY `oktid` (`oktid`,`nev`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
SET character_set_client = @saved_cs_client;

--
-- Dumping data for table `adatok_2009`
--

LOCK TABLES `adatok_2009` WRITE;
/*!40000 ALTER TABLE `adatok_2009` DISABLE KEYS */;
INSERT INTO `adatok_2009` VALUES (1,'Gipsz Jakab',NULL,NULL,NULL,'0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0.0000',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
/*!40000 ALTER TABLE `adatok_2009` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `szobeli_2009`
--

DROP TABLE IF EXISTS `szobeli_2009`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `szobeli_2009` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `jid` int(10) unsigned default '0',
  `szoveg` varchar(40) character set utf8 default NULL,
  `bizottsag` tinyint(3) unsigned default '0',
  `nap` varchar(10) character set utf8 default NULL,
  `napdt` date default NULL,
  `ido` time default '00:00:00',
  `tagozat` tinyint(3) unsigned default '0',
  PRIMARY KEY  (`id`),
  KEY `jid` (`jid`),
  CONSTRAINT `szobeli_2009_ibfk_1` FOREIGN KEY (`jid`) REFERENCES `adatok_2009` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_hungarian_ci;
SET character_set_client = @saved_cs_client;

--
-- Dumping data for table `szobeli_2009`
--

LOCK TABLES `szobeli_2009` WRITE;
/*!40000 ALTER TABLE `szobeli_2009` DISABLE KEYS */;
INSERT INTO `szobeli_2009` VALUES (1,1,NULL,0,NULL,NULL,'00:00:00',0);
/*!40000 ALTER TABLE `szobeli_2009` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2009-02-25  8:16:45