School DB Lab
Generated live from information_schema

Data Dictionary

The complete column-by-column reference for the whole database, plus the exact CREATE TABLE statement MySQL is actually running for each table.

پورے ڈیٹا بیس (Database) کے ہر ٹیبل اور کالم کی مکمل کالم-بہ-کالم حوالہ جاتی فہرست، بمعہ وہ اصل CREATE TABLE اسٹیٹمنٹ جو MySQL اس وقت ہر ٹیبل کے لیے چلا رہا ہے۔

teachers — exact CREATE TABLE MySQL is running

Equivalent to running SHOW CREATE TABLE teachers; directly in phpMyAdmin's SQL tab.

CREATE TABLE `teachers` (
  `teacher_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `employee_no` varchar(20) NOT NULL,
  `first_name` varchar(60) NOT NULL,
  `last_name` varchar(60) NOT NULL,
  `email` varchar(120) NOT NULL,
  `phone` varchar(20) DEFAULT NULL,
  `hire_date` date NOT NULL,
  `status` enum('Active','On Leave','Resigned') NOT NULL DEFAULT 'Active',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`teacher_id`),
  UNIQUE KEY `uq_teachers_employee_no` (`employee_no`),
  UNIQUE KEY `uq_teachers_email` (`email`),
  KEY `idx_teachers_status` (`status`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
Explain this page
What am I looking at?
The Full Dictionary tab summarizes every column across every table in one consistent shape. The Schema SQL Viewer tab shows MySQL's own authoritative record of a table's structure — if these two ever seemed to disagree, the SQL Viewer is always correct, since it comes straight from SHOW CREATE TABLE.
یہاں کیا نظر آ رہا ہے؟
فل ڈکشنری (Full Dictionary) ٹیب ہر ٹیبل کے تمام کالمز کو ایک یکساں ترتیب میں پیش کرتا ہے۔ اسکیما ایس کیو ایل ویور (Schema SQL Viewer) ٹیب MySQL کا اپنا مستند ریکارڈ دکھاتا ہے — اگر کبھی ان دونوں میں فرق لگے، تو ایس کیو ایل ویور (SQL Viewer) ہمیشہ درست ہوگا، کیونکہ یہ براہِ راست SHOW CREATE TABLE سے آتا ہے۔