This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE DATABASE profs; | |
USE profs; | |
CREATE TABLE professors ( | |
name varchar(30) NOT NULL, | |
specialization varchar(20), | |
salary double(8,2), | |
CONSTRAINT prof_pk PRIMARY KEY (name)); | |
CREATE TABLE students ( |