写出下列操作的SQL语句,update,delete,select,insert
DeleteallFemalestudentsinClass200501.QuerythestudentswhoaremaleorinClass200503withStu...
Delete all Female students in Class 200501.
Query the students who are male or in Class 200503 with StudentID, Name, Sex and Grant..
Change the students’ grant to 500 whose grant are less then 800.
Add one student to the table. 展开
Query the students who are male or in Class 200503 with StudentID, Name, Sex and Grant..
Change the students’ grant to 500 whose grant are less then 800.
Add one student to the table. 展开
展开全部
delete students where Sex='Female' and Class='200501'
select StudentID,Name,Sex,Grant from students where Sex='male' or Class='200503'
update students set grant=500 where grant<800
insert into students(StudentID,Name,Sex,Grant,Class) values(123,'妞','Female',500,'200501')
展开全部
对英文不懂,靠google翻译。
Delete all Female students in Class 200501.
DELETE FROM `table` WHERE `sex` = '女' AND `class` = '200501';
第二句英文不懂。
同上。
Add one student to the table.
INSERT INTO `table` (`id`,`name`,`sex`,`class`) VALUES (NULL,'张明','男','200501');
Delete all Female students in Class 200501.
DELETE FROM `table` WHERE `sex` = '女' AND `class` = '200501';
第二句英文不懂。
同上。
Add one student to the table.
INSERT INTO `table` (`id`,`name`,`sex`,`class`) VALUES (NULL,'张明','男','200501');
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
delete from students where sex='Female' and class='200501'
select * from students where sex = 'male' or class = '200503'
update students set grant='500' where grant<800
insert into students (StudentID,Name,Sex,Grant,class) values('3434','dd','male','522','200503')
select * from students where sex = 'male' or class = '200503'
update students set grant='500' where grant<800
insert into students (StudentID,Name,Sex,Grant,class) values('3434','dd','male','522','200503')
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询