By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--INSERT INTO subject VALUES('044', 'Missing Subject');
-- add in the line abov' at line 1
roll_no | sub_code | marks | test | s_name | s_code |
---|---|---|---|---|---|
3 | 044 | 29 | MT1 | ---- | ---- |
5 | 044 | 39 | MT1 | ---- | ---- |
16 | 044 | 43 | MT1 | ---- | ---- |
3 | 044 | 33 | MT2 | ---- | ---- |
5 | 044 | 40 | MT2 | ---- | ---- |
16 | 044 | 38 | MT2 | ---- | ---- |
3 | 044 | 40 | MT3 | ---- | ---- |
5 | 044 | 42 | MT3 | ---- | ---- |
16 | 044 | 40 | MT3 | ---- | ---- |