The document contains SQL commands to manage a database for a school system. It includes dropping existing tables and creating new ones for Classes, Students, Users, Timetable, and Attendance with defined relationships and constraints. Each table is structured to hold relevant information such as student details, class schedules, and attendance records.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
2 views2 pages
Codes Ql
The document contains SQL commands to manage a database for a school system. It includes dropping existing tables and creating new ones for Classes, Students, Users, Timetable, and Attendance with defined relationships and constraints. Each table is structured to hold relevant information such as student details, class schedules, and attendance records.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2
USE NCKH;
GO
-- Xóa các bảng cũ nếu đã tồn tại
DROP TABLE IF EXISTS Attendance; DROP TABLE IF EXISTS Timetable; DROP TABLE IF EXISTS Students; DROP TABLE IF EXISTS Users; DROP TABLE IF EXISTS Classes;