Files
question_db/SQL/kougi.sql
2026-10-28 10:48:39 +09:00

22 lines
392 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

CREATE TABLE emp_table (
emp_no INT,
emp_name VARCHAR(50),
salary INT
);
--“o˜^
INSERT INTO emp_table VALUES(1,'ˆä<EFBFBD>ã',200000);
INSERT INTO emp_table VALUES(2,'“c’†',500000);
--ŒŸ<C592>õ
SELECT * FROM emp_table;
SELECT * FROM emp_table WHERE emp_no = 1;
--<2D>X<EFBFBD>V
UPDATE emp_table SET salary = 100;
SELECT * FROM emp_table;
--<2D>í<EFBFBD>œ
DELETE FROM emp_table;
SELECT * FROM emp_table;