logo

Crowdly

Browser

Add to Chrome

Dua tabel sederhana: students dan scores. CREATE TABLE students (   student_...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Dua tabel sederhana: students dan scores.

CREATE TABLE students (

  student_id INT AUTO_INCREMENT PRIMARY KEY,

  nisn VARCHAR(12) NOT NULL UNIQUE,

  name VARCHAR(50) NOT NULL,

  kelas VARCHAR(5)

);

CREATE TABLE scores (

  score_id INT AUTO_INCREMENT PRIMARY KEY,

  student_id INT,

  subject VARCHAR(20),

  score INT,

  FOREIGN KEY (student_id) REFERENCES students(student_id) ON DELETE SET NULL

);

Berdasarkan skema students di atas, pernyataan mana yang benar tentang kolom student_id dan nisn?

100%
0%
100%
0%
0%
More questions like this

Want instant access to all verified answers on lms.smktarunabhakti.sch.id?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome