Correcting teacher:查无此人
Correction status:qualified
Teacher's comments:完成的不错,继续努力。
INSERT `php_class` (
`class`,
`name`,
`studentNum`,
`sex`,
`area`,
`head_teacher`,
`html_teacher`,
`php_teacher`,
`laravel_teacher`
)
VALUES
(
'PHP中文网第九期线上班',
'卷卷',
'1782653',
'男',
'台湾',
'朱老师',
'朱老师',
'欧阳克',
'西门大官人'
)
删除id=7的这条数据
DELETE
FROM
`php_class`
WHERE
`id` = 7
把整个表字段为laravel_teacher=’西门大官人’改为’更改老师’
UPDATE `php_class`
SET
`laravel_teacher` = '更改老师'
WHERE
`laravel_teacher` = '西门大官人'
查询这张表字段head_teacher(班主任)=朱老师的表
SELECT
`head_teacher`
FROM
`php_class`
WHERE
`head_teacher` = '朱老师'
查询结果
最终更改数据表